Translate the following c++ code into pep9 assembly language #include using namespace std;int square(int n){ int i; int sq; sq = 0; for (i = 0; i > num; cout

Translate the following c++ code into pep9 assembly language #include using namespace std; int square(int n){     int i;     int sq;     sq = 0;     for (i = 0; i < n;="" i++){=""        ="" sq="sq" +="" n;=""    ="" }=""    ="" return="" sq;="" }="" int="" main="" (){=""    ="" int="" num;=""  =""  ="" cout="">< "enter="" a="" number:="" ";=""    ="" cin="">> num;     cout < num="">< " squared = "<< square(num) << endl;     return 0; }

"="" squared="">
>
Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here