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

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=find Females(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=findunderUCBI 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=find Females(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=findunderUCBI stud)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
