Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

with C language and i need it with #include < stdio.h > Scanf and Printf and do not use # include < iostream > and

with C language and i need it with #include < stdio.h > Scanf and Printf

and do not use # include < iostream > and using namespace std;

Objectives: At the end of this phase you must be able to be familiar with 2-D arrays, and working arrays in parallel. Requirements: Write a program that has 2 arrays : the first array is a 5*6 array where the first column of it represents the student ID, the other 5 columns represent the degree of the student in 5 courses; and the second array is a 5*2 array, where the first column is the student ID and the second column will contain the sum of the student degrees in all his courses. Write as many functions as you can from the following - Function1: Write a function that gets the sum of the students from the first array and saves it along with student ID in the second array. - Function2: Write a function that returns the min total degree and the student ID who has got it. - Function3: Write a function that take the course number as an argument and returns the max degree in this course, and the ID of the student who got it. (Note: Course 1 is stored in column1 , course 2 in column 2, etc) - Function 4: Write a function that take the course number as an argument and prints all the students ID and their degrees in that course as a table. Phase 2 :

Objectives: This phase aims to introduce sorting and searching techniques. Requirements: - Function 1: Write a function that sorts the total sum array in descending according to the total sum column (Note: don't forget the ID column) - Function 2: Write a function that uses the maximum degree and ID output from function 3 in Phase I, and search in the total array for that ID then prints the student total degree phase 3 :

Add a new array named "Courses" that contain the course name

add or modify (from previous phases) functions to work with the course using its names not its number

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database Systems

Authors: Ramez Elmasri, Shamkant B. Navathe

7th Edition Global Edition

1292097612, 978-1292097619

More Books

Students also viewed these Databases questions