Q1 - write down an algorithm for each of the following problems:- 1) Find the average of four numbers. 2) Change the time in seconds to minutes. 3) Find the product of two numbers (this means to multiply the two numbers), 4) Find the difference between two numbers 5) Change a volume in pints to litres (there are 2.2 pints in every litre). 6) Find the average speed of a car given the journey time and the distance travelled. 7) Find the volume of a cube given the length of a side. 8) Find the volume of a pyramid, given the length and width of its base and its height

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter5: Repetition Statements
Section: Chapter Questions
Problem 2PP: (Mechanics) The deflection at any point along the centerline of a cantilevered beam, such as the one...
icon
Related questions
Question

Q1 - write down an algorithm for each of the following problems:-
1) Find the average of four numbers.
2) Change the time in seconds to minutes.
3) Find the product of two numbers (this means to multiply the two numbers),
4) Find the difference between two numbers
5) Change a volume in pints to litres (there are 2.2 pints in every litre).
6) Find the average speed of a car given the journey time and the distance
travelled.
7) Find the volume of a cube given the length of a side.
8) Find the volume of a pyramid, given the length and width of its base and its
height

Expert Solution
steps

Step by step

Solved in 5 steps

Blurred answer
Knowledge Booster
Computational Systems
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr