learnprogramming123

LEARN PROGRAMMING 123
your resources to programming and free tutition



Navigation

 
C
 
C++ soon here!
VB - soon here!

Search

 

 

 

 

Next Back

 

1.    Write a program that allows the user to input 5 grades, i;e; marks between 0 - 100. The program must calculate
       the average mark, and state the number of marks less than 65.

2.    Use an if statement to compare the value of an integer calles sum against the value 65, and if it is less, print the        text string "Sorry, try again".

3.    If total is equal to the variable good_guest, print the value of total, else print the value of good_guest.

4.    Rewrite the previous program, which accepted two numbers and an operator, using the switch case statement        (found at the bottom of lesson 8).

go to lesson 8

Q. What's the difference between a blonde and a broom closet?
A. Only two men fit inside a broom closet at once.


 






Hosted by www.Geocities.ws

1