subject

You must have at least three different arrays - These are, in effect, parallel arrays: • One for each Classroom capturing the names and ages of every person in the class • For example: class1: and class2 **Consider if these should be char arrays seen as you will be capturing names and ages • One for ages to be able to calculate the Avg Age * Please note: The example image shown below includes 3 arrays • There are 2 arrays for two classrooms There is 1 array to calculate the avg age for Classroom2 . Remember to use a "for loop for each array • You should have an Average Calculation that calculates the avg age for at least one of the classrooms You can calculate for each array, but only one is required • Hints and Suggestions: • You can set your own Student Names and Ages - for example, see the Names/Ages in the example below • You can set how many people in each classroom You can also write the program to ask the user for this input but this is not required At the end, it prints out the Ave Age for one of the classes The very last line for Ave Age should be printed in a different color - so it really stands out Here is what the output looks like. Helcome to the Homeschool Classroom System! Thank you for your joining our online learning platform. Please see your Class Mates and ages of each student below: Classroom 1: Names and ages of students in the first cl classroom: Tara - 10 Terri - 9 Scott - 9 Haylee - 8 Lisa - 11 Classroom 2: Names and ages of students in the second classroom: Susan - 12 Joe - 13 Kim = 1 Stacy - 15 wwverage age of stadents in Classroom 2 is 13 years

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 00:00, lilyforeman5867
Match each vocabulary word to its definition.1. desktoppicture used to represent acomputer application2. domainnetwork protectionsoftware code that can be viewed,3. iconmodified, and redistributed for freethe background screen on acomputer monitor4. url5. blogan online journalthe part of an internet address that6. firewallrefers to a group of computers on anetworkonline database of web pages7. intranetnetwork for use by an individual8. open address of a web page or9. wikiresource
Answers: 2
image
Computers and Technology, 22.06.2019 17:30, kameronstebbins
Which tab should you open to find the option for adding a header?
Answers: 1
image
Computers and Technology, 22.06.2019 22:40, nsuleban9524
When you type the pwd command, you notice that your current location on the linux filesystem is the /usr/local directory. answer the following questions, assuming that your current directory is /usr/local for each question. a. which command could you use to change to the /usr directory using an absolute pathname? b. which command could you use to change to the /usr directory using a relative pathname? c. which command could you use to change to the /usr/local/share/info directory using an absolute pathname? d. which command could you use to change to the /usr/local/share/info directory using a relative pathname? e. which command could you use to change to the /etc directory using an absolute pathname? f. which command could you use to change to the /etc directory using a relative pathname?
Answers: 3
image
Computers and Technology, 23.06.2019 00:30, vane3152
If joey was single and his taxable income was $9,500, how much would he pay in taxes each year?
Answers: 1
You know the right answer?
You must have at least three different arrays - These are, in effect, parallel arrays: • One for eac...

Questions in other subjects:

Konu
Mathematics, 18.02.2021 06:20
Konu
History, 18.02.2021 06:20
Konu
Mathematics, 18.02.2021 06:20