C++ program homework help?
We began this new section last week, and I was out of class from strep throat.
I have all my other questions completed and part of some of theses questions. I am having trouble getting these question answered. Any help i would greatly appriciete it.
If you can please post your answer and if you can explain it step it will be great.
1. Write a program that prompts the user to input a number. The program should then output the number and a message saying whether the number is positive, negative, or zero.
2. Write a program that prompts the user to input three numbers. The program should then output the numbers in ascending order.
3. Write a program that prompts the user to input an integer between 0 and 35. If the number is less than or equal to 9, the program should output the number; otherwise, it should output A for 10, B for 11, C for 12, .... Z for 35. Hint use static_cast<char>
5. A box of cookies can hold 24 cookies and a container can hold 75 boxes of cookies. Write a program that prompts the user to enter the total number of cookies, the number of cookies in a box, and the number of cookie boxes in a container. The program then outputs the number of boxes and the number of containers to ship the cookies. Note that each box must contain the specified number of cookies and each container must contain the specified number of boxes. If the last box of cookies contains less than the number of specified cookies, you can discard it, and output the number of leftover cookies. Similarly, if the last container contains less than the number of specified boxes, you can discard it, and output the number of leftover boxes.
11. A bank in your town updates its customers accounts at the end of each month. The bank offers two types of accounts: savings and checking. Every customer must maintain a minimum balance. If a customers balance falls below the minimum balance, there is a service charge of 10.00 for savings accoutns and 25.00 for checking accounts. If the balance at the end of the month is at least the minimum balance, the account receives interest as follows:
a. Saving accounts receive 4% interest.
b. Checking accounts with balances of up to 5,000 more than the minimum balance receive 3% interest; otherwise the interest is 5%.
I've only been in this class for a couple of months. so yeah