nested if statements |
nested if statements |
jrcman_32 |
Feb 27 2007, 12:10 PM
Post
#1
|
Group: Members Posts: 1 Joined: 27-February 07 Member No.: 2,043 |
I am working on an assignment and I am supposed to make a nested if statement. It is supposed to show the smallest number. There are three numbers to work with so it would be like number1 > number2. I am supposed to use a prompt and the person types in the values for number1 and number 2 and number3 and it should show the smallest and largest number. any suggestions on how to do it?
|
Effovex |
Feb 27 2007, 12:19 PM
Post
#2
|
Serious Coder Group: Members Posts: 251 Joined: 6-January 07 From: Sherbrooke, Qc, Canada Member No.: 1,477 |
Okay... weird quirk here. Don't put ninjas in spoiler blocks.
This post has been edited by Effovex: Feb 27 2007, 12:20 PM |
Effovex |
Feb 27 2007, 12:19 PM
Post
#3
|
Serious Coder Group: Members Posts: 251 Joined: 6-January 07 From: Sherbrooke, Qc, Canada Member No.: 1,477 |
How can I answer your question without doing the homework for you?
|
Lo-Fi Version | Time is now: 27th April 2024 - 01:44 AM |