Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For problems provide: 1. inputs: any value needed by your algorithm must be provided through an input 2. outputs 3. error conditions 4. an algorithm

For problems provide:

1. inputs: any value needed by your algorithm must be provided through an input

2. outputs

3. error conditions

4. an algorithm using pseudocode

5. a set of test cases

Apartment complex census [40 points]

Suppose the management of an apartment complex would like to know the demographics of the people living in the complex, more specifically the number of seniors, adults and children. Write an algorithm that will record the number of seniors, adults, and children in each apartment in the apartment complex, and then display the total number of seniors, the total number of adults, and the total number of children in the complex, as well as the average number of each (seniors, adults, and children) per apartment.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

an element of formality in the workplace between different levels;

Answered: 1 week ago