You have to write a software for Mason Registrar office that will keep track of classrooms...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
You have to write a software for Mason Registrar office that will keep track of classrooms in different buildings in Fairfax campus. Assume that Engineering building has 20 classrooms. Each classroom has a classroom number and a maximum capacity of students. 1. Declare and initialize an array classroom Number that will store all the classroom numbers in Engineering building. Each Classroom number should be a String. An example of a classroom number is D003. (5 points) 2. Declare and initialize an array classroom Capacity that will store the maximum capacity of each classroom. (5 points) 3. Write a method get Classroom Number() that will populate the classroomNumber array from user input. Add parameter to the method if needed. (10 points) 4. Write a method get Classroom Capacity that will prompt the user for the capacity of each classroom. Add parameter to the method if needed. (10 points) 5. Write a method, FindMaxCapacity() that will find the classroom number that has the largest capacity in the engineering building. (10 points) 6. Print the list of all classrooms and their capacity in the Engineering building. (10 points) You have to write a software for Mason Registrar office that will keep track of classrooms in different buildings in Fairfax campus. Assume that Engineering building has 20 classrooms. Each classroom has a classroom number and a maximum capacity of students. 1. Declare and initialize an array classroom Number that will store all the classroom numbers in Engineering building. Each Classroom number should be a String. An example of a classroom number is D003. (5 points) 2. Declare and initialize an array classroom Capacity that will store the maximum capacity of each classroom. (5 points) 3. Write a method get Classroom Number() that will populate the classroomNumber array from user input. Add parameter to the method if needed. (10 points) 4. Write a method get Classroom Capacity that will prompt the user for the capacity of each classroom. Add parameter to the method if needed. (10 points) 5. Write a method, FindMaxCapacity() that will find the classroom number that has the largest capacity in the engineering building. (10 points) 6. Print the list of all classrooms and their capacity in the Engineering building. (10 points)
Expert Answer:
Answer rating: 100% (QA)
Answer 1 public class Main public static void mainString args String classroomNumber D003 D004 D005 D006 D007 Add more classroom numbers as needed for String classroom classroomNumber Systemoutprintln... View the full answer
Related Book For
Spreadsheet Modeling & Decision Analysis A Practical Introduction to Management Science
ISBN: 978-0324656633
5th edition
Authors: Cliff T. Ragsdale
Posted Date:
Students also viewed these programming questions
-
This week's written activity is a three-part activity. You will respond to three separate prompts but prepare your paper as one research paper. Be sure to include at least one UC library source per...
-
TASK 1: Revise the given files - 'airport-program.c' and 'airport-program.h (Bottom of question )' The driver of the program is airport-program.c, which has the main()? function. The source file and...
-
List kinds of access we might want to limit on a multi user system.
-
A finite-element model of a cantilever beam subject to loading and moments (Figure) is given by optimizing ?(x, y) = 5x 2 ? 5xy + 2.5y 2 ? x ? 1.5y Where x = end displacement and y = end moment. Find...
-
A pump is being used to deliver water at 70F to two large, elevated tanks as shown in Figure P4.30. The pump is delivering a volumetric flow rate of 275 gpm. The pipes from A to B and B to C are...
-
Using an incremental internal rate of return (IRR) analysis, the decision to replace the "current best" by the "challenger"' is based on what decision rule? a. The internal rate of return of the...
-
Pratt Agriculture sells approximately 600,000 bushels of grain each month. On January 1, 2011, Pratt purchased an option to sell 600,000 bushels of grain on January 1, 2013, at a price of $1.25 per...
-
Video - Youtube -Lease Accounting Basic Example To Determine Lease Type (Capital Vs Operating Lease) https://www.youtube.com/watch?v=slNrpKODlSw
-
Parker, Inc., acquires 70 percent of Sawyer Company for $420,000. The remaining 30 percent of Sawyer's outstanding shares continue to trade at a collective value of $174,000. On the acquisition date,...
-
Use your webserver and newPost.py to generate a new post for this week's programming assignment.Get title no more than five words long that describes the nature of the referenced assignment.Include a...
-
"How do chloroplasts orchestrate intracellular signaling pathways to modulate cellular metabolism, encompassing interactions with other organelles and the nucleus?"
-
ACME Industries stock pays quarterly dividends of $2.25 per share, with the next payment today. If j1 = 5%, and dividends are expected to continue forever, what is the share price?
-
. ..Can you elucidate the role of developmental constraints, genetic pleiotropy, and selective pressures in shaping the evolutionary trajectories of homologous structures, including the conservation...
-
Consider the following regression estimates (FN3) Linear regression Number of obs F(1, 498) = = | || || 500 163.13 0.0000 0.2880 593.03 Prob > F R-squared = Root MSE = Robust income Coef. Std. Err. t...
-
What are the prospects for harnessing chloroplast engineering techniques, such as genetic modification and genome editing, to optimize photosynthetic performance, enhance crop productivity, and...
-
Correct Answer You Answered Question 1 A company gives each of its 75 employees (assume they were all employed continuously through 2017 and 2018) 12 days of vacation a year if they are employed at...
-
For the following exercises, find the area of the triangle. Round to the nearest hundredth. 22 50 36
-
Use Holts method to create a model that minimizes the MSE for the data set. Use Solver to determine the optimal values of and . a. What are the optimal values of and ? b. Prepare a line graph...
-
Use Holt-Winters additive method to create a seasonal model that minimizes the MSE for the data set. Use Solver to determine the optimal values of , , and . a. What are the optimal values of , , and...
-
Refer to question 23 at the end of Chapter 2. Implement a spreadsheet model for this problem and solve it using Solver.
-
The SDLC is just one model for systems development. Find at least one more and describe the differences.
-
Draw DFDs for each of these scenarios: (a) A customer goes into a bookshop and asks for this book. The member of staff looks for the book in the online stock catalogue and reports that the book is...
-
Draw an entity model to model this university scenario: A university department employs lecturers and clerical staff. It offers a three-year degree. A student has to take 12 modules during the...
Study smarter with the SolutionInn App