C++ has set of keyword such as You do not have permission to view the full content of this post.
Log in or register now.
those word that been in this keyword can't be use as variable
speaking of variable you can't* use two character variable such as OT(overtime), etc..
perhaps you could use three or four to be sure two variable is still possible...
I still prefer 3/more variable
those word that been in this keyword can't be use as variable
speaking of variable you can't* use two character variable such as OT(overtime), etc..
perhaps you could use three or four to be sure two variable is still possible...
I still prefer 3/more variable
Code:
#include <iostream>
using namespace std;
*// either global call
*//int funds; *// you can input value through Int funds=123; but you have to delete cin.
*//int purchase;
*//int totalvalue;
int main(){
*// either within call
int funds;
int purchase;
int totalvalue;
cout << "Input Funds" << endl;
cin >> funds;
cout << "Input Price" << endl;
cin>> purchase;
totalvalue=funds-purchase;
return 0;
}