Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In C++ Please! 1. Given the following data that provided by ULV registrar office where with Main campus, Orange campus, San Fernando campus, and Ventura
In C++ Please!
1. Given the following data that provided by ULV registrar office where with Main campus, Orange campus, San Fernando campus, and Ventura County campus are some of ULV campuses. The data are given in text file "file.txt" "file.txt" Male=1 Female=0 20 25 30 15 10 30 40 20 10 20 60 40 40 60 40 50 Under_Grad=0 Grad = 1 Main=0 Orange=1 SanF=2 VenC=3 Write a program to do the following a. Copy data from the file into array: int stud[2][4][2]; use calling statement: copyData("file.txt", stud); b. Display the total number of students. use totalStud -findTotalStud(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 Orange campus. Use underGradorabge=findunderGradOrangel stud); 1. Given the following data that provided by ULV registrar office where with Main campus, Orange campus, San Fernando campus, and Ventura County campus are some of ULV campuses. The data are given in text file "file.txt" "file.txt" Male=1 Female=0 20 25 30 15 10 30 40 20 10 20 60 40 40 60 40 50 Under_Grad=0 Grad = 1 Main=0 Orange=1 SanF=2 VenC=3 Write a program to do the following a. Copy data from the file into array: int stud[2][4][2]; use calling statement: copyData("file.txt", stud); b. Display the total number of students. use totalStud -findTotalStud(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 Orange campus. Use underGradorabge=findunderGradOrangel stud)Step 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