Help with Tuition Calculator

Hey, started another semester and got a few programs to do. I kinda forgot a lot of stuff in my off time but should get back in the swing of things in no time.

The assignment that has me stuck I KNOW is super simple, I need to enter the amount of credits a student will take and multiply by 100 to get the total tuition. Just need a little help!

Thanks.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#include (iostream)


using namespace std;
int main ();
{
    
float amount;
int credits = 10, money, total;

cout << "Please enter the amount of credits you will be taking ";
cin >> credits;


morph = credits * 100;



cout << "Your total tuition is ";
cin >> total; 

system("pause");
return;
}
morph = credits * 100;

Doesn't look like you've declared morph as a variable anywhere - did you mean to use total?

Also, do you mean to cout >> total instead of asking the person to input it?
Yeah, thank you. I'm still have some errors though.
Topic archived. No new replies allowed.