#include (iostream.h)
#include (iomanip.h)
//for setw
Note : ' Replace (( with greater than symbol '
int main()
{
int basic = 950, Allowance = 95, total = 1045;
cout(( setw(10)(("Basic"((setw(10)((basic((endl
(( setw(10)(("Allowance"((setw(10)((Allowance((endl
(( setw(10)(("Total"((setw(10)((total((endl;
cout<<"\n";
return 0;
}
0 comments:
Post a Comment