← All problemsSign in

Help Baby Chef

Baby Chef has just learned about calculating Average of two numbers in school, but he is unable to find Average of more than two numbers. Chef, being very busy, is seeking help from you to write a program so that the baby chef can simply enter the numbers and get the average of multiple numbers in no time. Your task is to write a program that accepts an array of $N$ numbers in array A and print

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start