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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started