Download presentation
Presentation is loading. Please wait.
Published byBożena Kaźmierczak Modified over 5 years ago
1
21 3 Variables Selection Functions Repetition Challenge 21
Write a program that converts between centimetres, and inches and vice versa, by: asking the user to input a number asking the user to choose between converting from centimetres to inches or from inches to centimetres calculating and outputting the result using functions (one to convert to inches and one to convert to centimetres) The program will then ask the user if they wish to convert another number You will need to use: Variables Selection Functions Repetition Space for notes... Tip: 1 inch = 2.54 cm 1 cm = inches 3
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.