Answered step by step
Verified Expert Solution
Question
1 Approved Answer
It should be in C-language . You need to store student IDs and their corresponding marks. You decide to store them in two arrays of
It should be in C-language .
You need to store student IDs and their corresponding marks. You decide to store them in two arrays of 10 elements: studID: an array of 10 studentlD strings. Each studentID is a string with7 characters (6 numbers plus the 10) marks: an array of integers which will store the mark associated with each studentld Write a program that will prompt a user to enter 10 student IDs and student marks and store these values into the arrays Write a function called printMarks0 which given an array of studentiDs and an array of marks (and any other arguments you may need), prints out both the studentld and the corresponding mark Update the main) function to call printMarks0. When you test the program, you should get output similar to this: ./student marks soln Enter student ID and student mark: 120000 99 Enter student ID and student mark: 120001 95 .../repeating prompt 10 times Student MarkS: 120000: 99 120001: 95 ../ printing out rest of arrayStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started