Question 3The ministry of education is trying to encourage a multicultural environment in the school system. To do so,
each school has to report the total number of Saudi and non-Saudi students in their classes.
Your job as a programmer is to design a programme to help each instructor with this task.
The program will ask each student to identify their nationality. For example, a question will ask if the student of
Saudi nationality or not. The user will answer “Y” for yes and “N” for no. Then calculate the total number of each
entry and display it at the end of the program. Keep in mind that the logic of the program will allow the user to
continuously enter a value until X is entered.Question 1
You decided to make a new investment and buy a condo. You will be renting it out for 35,000 SAR per month.
You want to create a program that take the rent amount as an input. Then, calculate the total income that you
will receive in 10 years and print out the total for the user.