admin@onlinelearningcenter.in (+91) 7 999 01 02 03

WAP to accept 10 numbers in an array then calculate the total and average of the same

Sunita Chhetry
110 Posts

WAP to accept 10 numbers in an array then calculate the total and average of the same

Input: 1 2 3 4 5 6 7 8 9 10

 

Output:

Total=1+2+3+4+5+6+7+8+9+10=55

Average=55/10=5.5

Published By : Sunita Chhetry
Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.

Comments

Jquery Comments Plugin