Question: IN C/C++ Use scanf() to read in input, n, from the user. Loop from 1 to n (inclusive) and print the square of the number
IN C/C++

Use scanf() to read in input, n, from the user. Loop from 1 to n (inclusive) and print the square of the number each iteration. Example Output Enter n: 5 square of 1 = 1 square of 2 = 4 square of 3 = 9 square of 4 = 16 square of 5 = 25
Step by Step Solution
3.41 Rating (170 Votes )
There are 3 Steps involved in it
C program that reads the value of an integer n and displ... View full answer
Get step-by-step solutions from verified subject matter experts
