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

Username:   Password: 
 RegisterRegister   
 help with these if statements
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Keeelooo




PostPosted: Thu Jan 26, 2017 1:44 pm   Post subject: help with these if statements

a)Display “Great Job” when gradeis 90 or greater.
b)Display “Error” when number is less than 20 or greater than 50
c)Output “There are <m> meters left.” if metersis not equal to zero. The placeholder <m> represents the value of the variable meters.
d)Calculate averageCost as totalCost divided by numItems,if numItemsis greater than zero. Otherwise display the message “No items purchased”
Sponsor
Sponsor
Sponsor
sponsor
Insectoid




PostPosted: Thu Jan 26, 2017 10:15 pm   Post subject: RE:help with these if statements

You need to demonstrate that you have put some effort into solving these problems before we will help you. We will not do your homework.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: