help with these if statements
Author |
Message |
Keeelooo
|
Posted: 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

|
|
 |
Insectoid

|
Posted: 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. |
|
|
|
|
 |
|
|