Sequence Ex 1 - Fuel Cost

Created By: M Ritter | Difficulty Level: 1

Description

An algorithm is required to calculate the cost of filling a tank of fuel. The user is required to enter the number of litres of fuel and the cost per litre. The program will then calculate the cost and display it.

Puzzle

Drag from here

  • INPUT rate
  • BEGIN
  • CALCULATE cost = litres * rate
  • INPUT litres
  • OUTPUT cost
  • END

Construct your solution here