Question: 1 Write the corresponding algorithm using pseudocode and draw the corresponding flowchart for the given problem below. 6. Mwasalat Bus Company has restarted its operations

1

Write the corresponding algorithm using pseudocode and draw the corresponding flowchart for the given problem below.

6. Mwasalat Bus Company has restarted its operations for routes from Muscat to Sohar. They hired you to develop their passenger reservation system. The program will accept travel type, and number of passengers. If the travel type is Special, then the fare is 3.5 OMR, otherwise fare is 2.0 OMR. Total amount is fare multiplied by number of passengers. For their reopening promo, a discount of 3% of the total amount is given. Net amount is total amount minus discount. Display all data.

2

Write the corresponding algorithm using pseudocode and draw the corresponding flowchart for the given problem below.

7. The newly formed University of Science and Technology asked for your services to make a simple program for their teacher applicants. The program will read 20 records of these applicants, which include the applicant name and the number of seminars attended. The program will compute the sum and average of these seminars. Then the program should display all computed values.

3

Write the corresponding algorithm using pseudocode and draw the corresponding flowchart for the given problem below.

8. Netflix Oman hired you to create a program to determine the most watched movie in the Sultanate. The program will accept records of 2000 movies which include the movie ID, movie title, and number of views. The program should then determine the highest number of views. Display all data.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!