Sunday, March 27, 2022

C Programming 3 | Question in Description | Muhammad Ali 110

Question: Write a program that reads in 5 numbers from the user storing the numbers in an array (can be static or dynamic). Then prints the sum of the squares of all of the numbers in the array.
Sample Output:

Enter a number: 3 Enter a number: 5 Enter a number: 6 Enter a number: 4 Enter a number: 3
The sum of the squares of your numbers is: 4.2


↓ Subscribe Us For MORE Solution. Your Solution here in video ↓

No comments:

Post a Comment