Question: Hi guys Im working on coding with C++ I cant figure both of this problem it seems to make errors during the process. Im suppose
Hi guys Im working on coding with C++ I cant figure both of this problem it seems to make errors during the process. Im suppose to use while / for and do while loops If you could help me out Ill save me a lot. Thank you so much!
Problem 1: Print Numbers (10 points)
Write a program that lets the user input two numbers and the program prints out every number in between both input numbers including the numbers themselves. The program should work as follows:
- The program will then greet the user.
- Next, the program prompts the user to enter two numbers between -100 and 100.
- For each number: If the number is below or above the valid range, re-prompt repeatedly until a valid value has been entered.
- The two numbers can be the same or different value.
- If the first number is smaller than the second number, it will output a sequence of ascending numbers.
- If the first number is larger than the second number, it will output a sequence of descending numbers.
- If both numbers are equal, only that number will be shown.
Problem 2: Menu (10 points)
A restaurant offers the following menu for take out. Customers can order any of the three items on the menu. Each item may be ordered 1-10 times. After an order is placed, the bill is printed with every single item ordered on the bill and the total price of the entire order at the bottom. That is, an order of one cheese salad and three pepperoni burgers would result in a bill showing Cheese Salad once and listing Pepperoni Burger three times.
The Menu:
- Cheese Salad
- Pepperoni Burger
- Caesar Pizza
Implement a program for the above description. Validate all input repeatedly until a valid input is entered. Print out the bill to the console.
here is what Ive done so far
Problem1

Problem2

2 #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
