Question: Please create the following program in C++. Also, please use beginner preprocesser directives, no #include h>.Thank you. Given the following data that was provided by

Please create the following program in C++. Also, please use beginner preprocesser directives, no "#include h>".Thank you.

Please create the following program in C++. Also, please use beginner preprocesser

Given the following data that was provided by the University of California offices over-looking the 4 following different campuses: UCLA, UCB, UCD, and UCSD. The data are given in text file "file.txt" "File.txt" 20 25 30 15 10 30 40 20 10 20 60 40 40 60 40 50 Male=1 Female=0 UnderGrado Gradr = 1 UCLA=0 UCB=1 UCD=2 UCSD=3 Write a program to do the following a. Copy data from the file provided above into array: int stud[2][4][2]; a. Make sure to use calling statement: copyData("file.txt", stud); b. Display the total number of students. use totalStud EfindTotalStud(stud); c. Display the total number of female students. use totalFemales=findFemales(stud) d. Display the total number of graduate students. totalGrad=findGrads(stud); e. Display the number of under-graduate students in the UCB Campus. Use undergraduCB=findunderUCB stud): Given the following data that was provided by the University of California offices over-looking the 4 following different campuses: UCLA, UCB, UCD, and UCSD. The data are given in text file "file.txt" "File.txt" 20 25 30 15 10 30 40 20 10 20 60 40 40 60 40 50 Male=1 Female=0 UnderGrado Gradr = 1 UCLA=0 UCB=1 UCD=2 UCSD=3 Write a program to do the following a. Copy data from the file provided above into array: int stud[2][4][2]; a. Make sure to use calling statement: copyData("file.txt", stud); b. Display the total number of students. use totalStud EfindTotalStud(stud); c. Display the total number of female students. use totalFemales=findFemales(stud) d. Display the total number of graduate students. totalGrad=findGrads(stud); e. Display the number of under-graduate students in the UCB Campus. Use undergraduCB=findunderUCB stud)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!