TOPIC

i get a presentation error

LILYUM IRIS asked 2 months ago

include include <bits/stdc++.h>

using namespace std;

int main() {

string firstName;
double salary,totalSold,total;

 cin>>firstName>>salary>>totalSold;

total= salary+(totalSold*0.15);
cout<<fixed;
cout<<setprecision(2)<<"Total= R$"<<total<<endl;

return 0;

}

This topic was solved and cannot recieve new replies.