1.write a program that continues to ask the user to enter any number other than 5 until the user enters the number 5.
Then tell the user"Hay! you weren't supposed to enter 5!" and exit the program?
2.write a program that asks the user to type integers and writes the sum of these integers?
3.write a program that asks the user to type an integer between 0 and 20 (both included) if someone types a wrong value, the program writes ERROR and he must type another value?
4.write a program that outputs a right isosceles triangle of height and width n, so n =6 would look like?
*
**
***
****
*****
******
1
Expert's answer
2012-12-20T09:49:39-0500
Unfortunately, your question requires a lot of work and cannot be done for free. Submit it with all requirements as an assignment to our control panel and we'll assist you.
Comments
Leave a comment