Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please solve the three questions Question 1 (5 marks): Create an algorithm to calculate the sum of the even numbers in the 100 numbers input

Please solve the three questions
image text in transcribed
Question 1 (5 marks): Create an algorithm to calculate the sum of the even numbers in the 100 numbers input by the user. Question 2 (7 marks): Create an algorithm to ask a customer to enter a type of pizza that he wants to buy and to print the price of the corresponding pizza as shown by the following table. If the user enters a type not existing in the table, print 'Wrong Pizza Name'. Do not forget to add the VAT of 5%. The prices shown in the table below are excluding VAT. Example: Enter Your choice of Pizzo: Regina The final Price of You selected pizza is: 42AED Question 3 ( 8 marks): Create an algorithm to calculate the average midterm exam of ENGG140 class. You should get the number of the students in the class from the user and the individual MidTerm grade for each student (hint; use a loop) - If the average score between 90 and 100, you programi should print "Excellent class". - If the average score is between 80 and 89 , you program should print "Very good Class" - Otherwise the program should print, "This class should work harder" Repeat the above algorithm as much as the user wants

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions