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.
CS 340 Milestone One Guidelines and Rubric Overview: For this assignment, you will implement the fundamental operations of create, read, update,
Retail Transaction Programming Project Project Requirements: Develop a program to emulate a purchase transaction at a retail store. This
7COM1028 Secure Systems Programming Referral Coursework: Secure
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
CS 340 Final Project Guidelines and Rubric Overview The final project will encompass developing a web service using a software stack and impleme