Question: Convert the following C++ program into Pep/9: #include using namespace std; const int amount = 20000; int num; int sum; int main() { cin>>num;
Convert the following C++ program into Pep/9: #include using namespace std; const int amount = 20000; int num; int sum; int main() { cin>>num; sum = num + amount; cout < < "sum = " < < sum < < endl; return 0;
Step by Step Solution
There are 3 Steps involved in it
Heres a corrected C code and an explanation for a possible Pep9 equivalent focusing on the calculati... View full answer
Get step-by-step solutions from verified subject matter experts
