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

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 16:00
Write a grading program for a class with the following grading policies: a. there are two quizzes, each graded on the basis of 10 points. b. there is one midterm exam and one final exam, each graded on the basis of 100 points. c. the final exam counts for 50% of the grade, the midterm counts for 25%, and the two quizzes together count for a total of 25%. (do not forget to normalize the quiz scores. they should be converted to a percentage before they are averaged in.) any grade of 90 or more is an a, any grade of 80 or more (but less than 90) is a b, any grade of 70 or more (but less than 80) is a c, any grade of 60 or more (but less than 70) is a d, and any grade below 60 is an f. the program will read in the student’s scores and output the student’s record, which consists of two quiz and two exam scores as well as the student’s average numeric score for the entire course and final letter grade. define and use a structure for the student reco
Answers: 2
question
Computers and Technology, 24.06.2019 00:10
Read each statement below. if the statement describes a peer-to-peer network, put a p next to it. if the statement describes a server-based network, put an s next to it. p - peer-to-peer s - server-based
Answers: 1
question
Computers and Technology, 24.06.2019 08:00
Can someone work out the answer as it comes up in one of my computer science exams and i don't understand the cryptovariables
Answers: 1
question
Computers and Technology, 24.06.2019 11:00
The program below has been generalized to read a user's input value for hourlywage. run the program. notice the user's input value of 10 is used. modify that input value, and run again. generalize the program to get user input values for workhoursperweek and workweeksperyear (change those variables' initializations to 0). run the program. monthsperyear will never change, so define that variable as final. use the standard for naming final variables. ex: final int max_length
Answers: 2
You know the right answer?
You must have at least three different arrays - These are, in effect, parallel arrays: • One for eac...
Questions
question
Mathematics, 15.12.2021 20:40
question
Mathematics, 15.12.2021 20:40
question
Mathematics, 15.12.2021 20:40
Questions on the website: 13722363