Hello Everyone! Please Help me on my C++ Program it's kinda buggy and full of errors. I hope someone can help me~ Thanks in Advance! :D
#include <iostream>
using namespace std;
int main()
{
int stun;
float NUO, APU, IA, DP, Bal;
cout<<"Student Record\n\n";
cout << "Student Number: ";
cin >> stun;
cout << "\nStudent Name " << endl;
char FN [50];
cout << "\nFirst Name: ";
cin >> FN;
char LN [50];
cout << "\nLast Name: ";
cin >> LN;
char Cou [4];
cout << "\nCourse: ";
cin >> Cou;
cout << "No. of Units Enrolled: ";
cin >> NUO;
cout << "Amount Per Unit: ";
cin >> APU;
IA = NUO*2;
cout << "Initial Amount: " << IA << endl;
DP = IA / 2;
cout << "Deposit: " << DP << endl;
Bal = IA / 2;
cout << "Balance: " << DP << endl;
return 0;
}