Assignment 2-a:
Note 1: A Kilobyte equates to 1,024 Bytes, and each Byte equates to 8 bits.
Note 2: The download speed is the number of bits transferred divided by the time taken for the transfer (in seconds).
Program 2: Every two weeks you are responsible for re-ordering printer paper for your company’s needs. Assume each package of paper contains 500 sheets. In the past it has been determined that, on average, paper usage closely follows this:
Users Usage Amount
Managers Daily 50 sheets
Employees Daily 95 sheets
Departmental Weekly 2000 sheets

In addition, to be on the safe side, you always order an additional 20% (just to be sure). Once you calculate how many packages of paper you should order, you subtract from this amount the number of packages of paper your company has left over from the previous order. Display this final number of packages of paper you will order

I dont need this put into C++ format if its too much of a hassle, but anything at this point would help right now because this is due tomorrow and i cant seem to figure it out. Im new at this so any help would be great from anyone.

Program 1:

1. Prompt the user for the file size in KB of the first file.
2. Scan for keyboard input and store in a variable.
3. Multiply by that by the number of bytes in a KB. Multiply again by number of bits in a byte.
4. Prompt the user for the time in seconds needed to download the first file.
5. Scan for keyboard input and store in a variable.
6. Multiply by that by the number of bytes in a KB. Multiply again by number of bits in a byte.
7. Prompt the user for the file size in KB of the second file.
8. Scan for keyboard input and store in a variable.
9. Prompt the user for the time in seconds needed to download the first file.
10. Scan for keyboard input and store in a variable.
11. Divide the file size of the first number in bits by the download time and store in a new variable.
12. Divide the file size of the second number in bits by the download time and store in a new variable.
13. Average the two together and store in a new variable.
14. Print an output displaying the average bits per second of the internet connection.

Program 2:

1. Prompt the user for the total number of pages used in a day.
2. Scan keyboard for input and store in a variable.
3. Multiply that by the number of days in a week.
4. Prompt the user for additional weekly usage.
5. Scan keyboard for input and store in another variable.
6. Add that to the current number.
7. Since it is biweekly, multiply your weekly total by two.
8. Since you need an additional 20%, multiply your weekly total by 1.2. (If you get the wrong values because the compiler turns 1.2 into 1: instead multiply by 6, then divide by 5).
9. Print the total number of pages you need to order.