Question: please use codeblocks software. programming languange is c programming. please dont use cout and cin instead use printf and scanf. your help is very much
please use codeblocks software. programming languange is c programming. please dont use cout and cin instead use printf and scanf. your help is very much appreciated.
Write a program that takes a list of students' names and marks and calculates the average marks. You are required to declare two arrays called names and marks. Assume number of students are 5. Declare array names: (use 2-D array) char names[num std [name len); /ame length can be 20 characters long Declare array marks: float marks[num. std); Sample output: Enter student name Jason Enter student marks. 60 Enter student name i Ahmad Enter student marks.: 77 Enter student name: Chong Enter student marks.: 88 Enter student name Kumar Enter student marks. 70 Enter student nameni Daniel Enter student marks: 55 Jason 60.00 Ahmad 77.00 Chong 88.00 Kumar 70.00 Daniel 55.00 Average marks for 5 students. 70.00
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
