write a coding in how to find out the average sum of five students marks | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

write a coding in how to find out the average sum of five students marks

14th Sep 2016, 9:56 AM
Jaideep Sosa
Jaideep Sosa - avatar
2 Answers
0
Add all the no. in a variable lets say sum and then take a variable lets say g =sum/5; Then print g
14th Sep 2016, 10:01 AM
Rishabh Rathi
0
you can do by this way too average=(sub1+sub2+sub3+sub4+sub5)/5;
14th Sep 2016, 4:29 PM
Ankit Ojha
Ankit Ojha - avatar