logo Hurry, Grab up to 30% discount on the entire course
Order Now logo

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Alex WarddEconomics
(5/5)

964 Answers

Hire Me
expert
Jeremy BauerPhilosophy
(5/5)

902 Answers

Hire Me
expert
StatAnalytica ExpertHistory
(5/5)

778 Answers

Hire Me
expert
Kim WooddOthers
(5/5)

517 Answers

Hire Me
Assignment Writing

You as a computer programmer, write an algorithm to read number of persons supposed to live in this building.

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

Question #1

Assume you are working in teamwork for designing new buildings. The new designs must consider carefully the number of emergency exits (ارئ9A رج=a) the building should have; depending on number of people in this building.

You as a computer programmer, write an algorithm to read number of persons supposed to live in this building. Then, the algorithm determines and prints out the suitable number of emergency exits according to the following table:

Number of persons Number of emergency exits

 

50 or less

1

exit

51- 175

3

exits

176- 320

5

exits

 

 

If number of persons is above 320, number of emergency exits calculated as the following equation:

Number of emergency exits = No. of persons ∗ 1.8

100

 

Question #2

Write an algorithm to read number of Palestinian populations in 2019. The number of populations increases by a fix rate of 2.8% per year. Write an algorithm that finds the year in which the number of Palestinian populations will exceeds the double (i.e. twice) current number.

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme