Posted by Jeniffer on Tuesday, May 22, 2012 at 9:51pm.
Write a program that will ask the user to enter a person's age, weight and birth month. Your program will compare the entered value to the following and print the appropriate response. Be sure to use modules.
The secret answers: age=25
The comparison: if the guessed age less than or equal to 25
The printed response: Congratulations, the age is 25 or less.
The secret answer: weight= 128
The comparison= If the guessed weight is greater that or equal to 128
The printed response: Congratulations, the weight is 128 or more
The secret answer: birthMonth = 'April'
The comparison: if the guessed month is equal to April
The printed response: Congratulations, the birth month is April
This program to be written in Python and Raptor
- programming - MathMate, Tuesday, May 22, 2012 at 9:58pm
For your information, I will tend to respond to posts on programming / computers in which efforts are shown.
Unlike mathematics, where 2+2 always equal 4 (if we are in the decimal system).
However, no two computer programs are the same, so every program is a personal version of the answer.
We can help you correct your coding, or suggest new algorithms, but you need to show your work, please.
- programming - Jeniffer, Tuesday, May 22, 2012 at 10:22pm
I really don't know how to start.. so I have nothing written now
- programming - MathMate, Wednesday, May 23, 2012 at 2:28pm
If you really don't know where to start, you may review your teacher's class notes, your text book. If there is none, you can also learn by tutorials, such as:
Do you have Python installed on your computer, or you have one available at school? The first part of the tutorial deals with installation of Python on your computer.
Answer this Question
More Related Questions
- computers - Write a program that will ask the user to enter a person's age, ...
- C programming - Build a program that allows a user to select one of the ...
- programming MIPS ask - Write a MIPS assembly language program that will cover ...
- C Programming - Write a program that prompts the user to enter a temperature, ...
- java programming - Your boss at Ruritania Weather Center (RWC) has asked you to ...
- Programming in c++ - Draw a flow-chart and Write a program that asks the user ...
- programming - Write a program which allows user to enter 10 student names and ...
- Computer Science - write a program that will prompt the user for a value and ...
- computer science programming - Elements – sequence-series outputting Write a ...
- Design Logic and programming - write a program that ask the student to enter an ...