Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I don't understand. Could someone help? Design the following algorithms (using Pseudocode): 1. Write an algorithm that determines the flying time between two cities given

I don't understand. Could someone help?

image text in transcribed

Design the following algorithms (using Pseudocode): 1. Write an algorithm that determines the flying time between two cities given the mileage between them and the speed of the airplane. (Hint: use the formula distance = rate x time to help you devise a solution. ) (10 pts ) 2. Compute and display the value of X divided by Y if the value of Y is not zero. If y does have the value 0 then display a message saying, "Unable to perform the division". (10 pts) 3. Write an algorithm, that given a numeric grade outputs the corresponding letter grade (A, B, C, D, or F) corresponding to the grading scale in your syllabus. (20 pts.) 4. Write an algorithm that inputs four exam scores corresponding to scores received on 3 semester tests and a Final Exam. Your algorithm should compute and display the average of all four tests weighing the final exam twice as heavily as a regular test. (20 pts.) 5. Modify the test averaging algorithm you wrote in problem 4 above so that it reads in a total of 14 regular test scores plus a final exam score, which counts twice as much as a regular test. Use a loop to input and sum the scores. (20 pts.) (HINT: Be sure to examine problems 3 and 4 in the Professor's Practice Problems (with Solutions) document posted on the Week 2 & 3 Instructions page.) 6. Write an algorithm that adds up a sequence of twenty numbers and outputs the sum of the numbers as well as the average of the numbers. (Your algorithm MUST use a loop to read in and process the input) (20 pts.) (HINT: Be sure to examine problems 3 and 4 in the Professor's Practice Problems (with Solutions) document posted on the Week 2 & 3 Instructions page.)

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

Practical Neo4j

Authors: Gregory Jordan

1st Edition

1484200225, 9781484200223

More Books

Students also viewed these Databases questions

Question

Which team solution is more likely to be pursued and why?

Answered: 1 week ago