Write a function that receives marks received by a student in 3 subjects and returns the average

a) Write a function that receives marks received by a student in 3 subjects and returns the average and percentage of these marks (assume all subject have 100 as maximum marks). Call this function from main( ) and print the results in main( ).


Leave a Reply