GIDForums  

Go Back   GIDForums > Computer Programming Forums > C Programming Language
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 28-Mar-2005, 04:29
JYGUTI JYGUTI is offline
New Member
 
Join Date: Jan 2005
Posts: 3
JYGUTI is on a distinguished road

Homework Help


I'm trying to write a program that will find display the smallest number from inputting 3 integers. I'm not so sure how to write my if/else statement. Can anyone help?
  #2  
Old 28-Mar-2005, 05:58
nkhambal nkhambal is offline
Regular Member
 
Join Date: Jul 2004
Location: CA USA
Posts: 313
nkhambal is a jewel in the roughnkhambal is a jewel in the rough
Here is the pseudo code

Code:
input 3 numbers a b and c if a < b then min = a else min = b if c < min then min = c print min

I guess you can covert it to proper c code.

Good luck
 

Recent GIDBlogThe bogus security of airport screening by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
read file into array Requoter CPP / C++ Forum 9 28-Mar-2005 22:39
C++ Homework Due Tomorrow. Help! snatbot CPP / C++ Forum 3 02-Mar-2005 15:34
help!!!!!!!! C++ homework newbie CPP / C++ Forum 2 20-Jan-2004 09:41

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 16:27.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.