Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Program using nested ifs
Index -> Programming, C -> C Help
Goto page Previous  1, 2
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
stef_ios




PostPosted: Mon Feb 04, 2008 12:37 pm   Post subject: RE:Program using nested ifs

Thanks, i'll work on it!! Very Happy
Sponsor
Sponsor
Sponsor
sponsor
stef_ios




PostPosted: Tue Feb 05, 2008 1:16 pm   Post subject: RE:Program using nested ifs

So for that bit of code you posted, md, would I do that for each mark category. And then for the lesser grade put what the grade is below the category "whatever_A_is" and then for the greater grade put "You got an A"? So I would need four extra if statements.
md




PostPosted: Tue Feb 05, 2008 2:36 pm   Post subject: RE:Program using nested ifs

Err... I suppose... what I meant was that the lesser grade would be like a C if the higher grade is a B.

Mostly I'm just throwing ideas out there though, it's up to you to figure out a solution that you are happy with (and understand).
stef_ios




PostPosted: Tue Feb 05, 2008 3:11 pm   Post subject: RE:Program using nested ifs

Gotcha. Thanks. Very Happy
Display posts from previous:   
   Index -> Programming, C -> C Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 2 of 2  [ 19 Posts ]
Goto page Previous  1, 2
Jump to:   


Style:  
Search: