Project Guide PDF
Project Guide PDF
This guide will give you hints for every step of completing the
project, these will help you scratch the surface so you can
dive straight into crafting your project. If you need additional
help, check out my own solution to writing this program
This is a very basic step that demands the use of one of the most core concepts of
programming, displaying text. Try using the print function to display a string. This
string should be very simple, along the lines of:
Hello! Welcome to this program...
Then try printing a string that explains in your own way what the program does.
Step 2:
Prompt the user to choose one of the services.
This step requires obtaining data from the user, which is done using input(). Prompt
the user to enter which service they wish to use. There are many ways to do this, you
can ask the user for the name of the service, the number you labelled it with, etc...
Step 3:
Execute the code for the service they chose,
a. If the user decides to find their BMI, have them enter their mass
in kg and height in meters, then calculate their BMI using the
formula BMI=mass divided by the height squared (BMI=kg/m^2).
b. If the user chooses to exchange currencies, ask them to enter an
amount of money in a particular currency of your choice, and
convert it to the equivalent amount in your country's currency.
For this step you first have to ask the user if they want to use the program again
using input(), and storing their answer inside a variable. Then create a while loop
using that variable, so that you loop through the code you've written in steps 1,2 and
3, each time asking the user if they want to use the program again, and storing their
answer inside the variable.
Step 5:
Making your code visually simple and organized is essential for
programmers, so be sure to check that off your list!
Consider creating functions for each of the services in (a) and (b), and then calling
these functions when you need to execute them. This should make your code simple
to read. Also consider adding empty spaces along the program using print(""), so it is
visually more presentable to the user