Write a program to input 5 numbers and find the average | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Write a program to input 5 numbers and find the average

9th Feb 2021, 4:56 AM
Vedantth Kumar
Vedantth Kumar - avatar
6 Answers
+ 2
Please show us your attempt so far so we may help and please give more details about your problem. Thanks
9th Feb 2021, 5:02 AM
noteve
noteve - avatar
+ 2
Please specify in which language you want and post your code which you have tried
9th Feb 2021, 5:03 AM
Atul [Inactive]
0
He may have had a test that time i.e. 1 hour ago
9th Feb 2021, 6:08 AM
∆BH∆Y
∆BH∆Y - avatar
0
Atul maybe C++
9th Feb 2021, 6:08 AM
∆BH∆Y
∆BH∆Y - avatar
0
Lmao, 🤣🤣😂🤣🤣😂😂🤣🤣🤣😂😂🤣😹🤣🤣
9th Feb 2021, 6:21 AM
Maximilien
Maximilien  - avatar
- 1
def average(a, b, c, d, e) : return (a+b+c+d+e)/5
9th Feb 2021, 5:00 AM
Maximilien
Maximilien  - avatar