1.

Solve : Mathamatics?

Answer»

I can't figure out how to WRITE this program.

Write a program that prompts the user to enter four INTEGERS and reads all four values with a single SCANF statement. Write statements to FIND the square of each value. Print the values and their squares in a labeled aligned as in the example shown below:
Number Square
5 25
10 100
15 225
20 400Try visiting...

http://www.cppreference.com/wiki/c/io/scanf

and modify per your needs.

Matt



Discussion

No Comment Found