You are on page 1of 1

#include <iostream>

#include <fstream>
#include <iomanip>
using namespace std;
int main(int argc, char *argv[]) {
float art, gan, total;
cout<<"/////////////////////////////////////////////////////////"<<endl
<<"///////////////USCOSOFT SALES GAIN///////////////////////"<<e
ndl
<<"/////////////////////////////////////////////////////////"<<e
ndl;
cout<<""<<endl
<<""<<endl
<<""<<endl
<<"Digite valor del producto comprado"<<endl;
cin>>art;
gan = art*0.3;
total= gan+art;
cout<<""<<endl
<<"el producto se debe vender en = "<<total<<endl
<<""<<endl
<<"ganancia del 30% es = "<<gan<<endl;
return 0;
}

You might also like