wiley24
Arlington, TX
29, joined Jan. 2013
|
#include
#include
using namespace std;
int main ()
{
float mealcharge, salestax , tip;
float sum=52.00;
mealcharge= 44.5;
salestax=.675;
tip=1.05;
sum=.675*mealcharge *(tip);
cout << total <
return 0;
}
that what I got so far I have to make a program that calculate the total price of the meal with sales, and tip and the teacher is no help so Im asking for advice or tips to make it work
Meet singles at DateHookup.dating, we're 100% free! Join now!
|
perfectlyfl4wed
Jacksonville, FL
35, joined Sep. 2013
|
iam4eversmart88 has some great youtube tutorials for beginner programming
|
aha2
Z_rich
Switzerland
52, joined Jan. 2010
|
sum = sales + mealcharge + tip;
cout << "Total:" sum\n;
return 0;
without any testing
[Edited 9/22/2013 10:01:35 AM ]
|
aha2
Z_rich
Switzerland
52, joined Jan. 2010
|
Baah, C# is not even an open standard...
|