The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> nested if statements
jrcman_32
post 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?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Effovex
post 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. ninja.gif

This post has been edited by Effovex: Feb 27 2007, 12:20 PM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Effovex
post 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?


User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 27th April 2024 - 01:44 AM