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.
To gain customer loyalty you decided to offer special discounts for loyal customers. Also, offer special discount for new customers to encourage them to stay in business.
Your discount policy will be as the following:
Customer who have less than 100 loyalty points will receive 10% discount.
Customers who have more than 1000 loyalty point will also receive 10% discount.
Create a program that will ask the user to enter their names and how many points do they have. Based on the
collected information, you will print out a message stating if this customer is eligible for discount or not.
The 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.
The following list contains a mix of names of countries and cities. Each name is followed by a letter about whether it is part of the GCC countries or European Union.
mixed = [“Bahrain G”, “Austria E”, “Qatar G”, “Malta E”, “Italy E”, “Oman G”, “Kuwait G”, “Denmark E”, “France E”]
Write a program that creates two lists (one of GCC countries, and one of EU) and uses the lists to produce the output.See the file