ps5pr6.txt - ps5pr6(Problem Set 5 Problem 6 Squaring and...

This preview shows page 1 out of 1 page.

# # ps5pr6.txt (Problem Set 5, Problem 6) # # Squaring and counting # 00 read r1 # get number from user and store it in r1 01 mul r3 r1 r1 # r3 equals r1 times r1 02 setn r2 0 # set r2 to 0 03 write r2 # print the value of r2

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture