Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2014 Nancy France September 15 19 2014 Proceedings Part 2 Lnai 8725

Authors: Toon Calders ,Floriana Esposito ,Eyke Hullermeier ,Rosa Meo

2014th Edition

3662448505, 978-3662448502

More Books

Students also viewed these Databases questions

Question

What is the purpose of a code of conduct?

Answered: 1 week ago