<iostream> is included for input and output operations.<string> is included for potential future use (not used in this program).using namespace std; allows the use of standard functions without prefixing them with std::.ReadNumbers)
int &Mark1, int &Mark2, int &Mark3) to modify the values directly.SumOf3Marks)
CalculateAverage)
SumOf3Marks() to compute the total sum.3 to calculate the average.float.PrintResults)
"The average is: [Average]".main())
Mark1, Mark2, Mark3).ReadNumbers() to get user input.CalculateAverage() to compute the average.PrintResults() to display the average.0 to indicate successful execution.This structured explanation ensures clarity and ease of understanding.
17 comments