Is it better to receive 50,000$ per day for 30 days(1 month) or to receive one penny on first day and have the amount you receive double each day for the month. On day 1 you will receive 1 cent. On day 2 you will receive 2 cents and have 3 cents in total. On day 3 you will receive 4 cents and have 7 cents in total. On day 4 you will receive 8 cents and have 15 cents in total, etc. $50,000/ day=............. $.01 Doubling each day=.............
Is it better to receive 50,000$ per day for 30 days(1 month) or to receive one...
Suppose you have one cent ($0.01) in a piggy bank. Each day you double the amount of money you have in the bank. Thus at the beginning - day zero - you have one cent, on day one you have two cents (0.02), on day three you have four cents (0.04) and so forth. The doubleEachDay method takes a double value, jackpot, as its input argument, and calculates the number of days needed to reach or exceed the jackpot amount,...
Write a program that calculates the amount a person would earn over a 30-day period of time if his/her salary is one penny the first day, two pennies the second day, and continues to double each day. The program should display a table showing the salary for each day, and then show the total pay at the end of the period. The output should be displayed in a dollar amount, not the number of pennies. A sample output might look...
TVM. A farmer offers you a job that will take 30 days and you accept. He offers compensation of: $1 million dollars upon completion of the job 1 penny the first day and doubling each day through 30 days Which will you choose?
The two employees of Silver Co. receive various fringe benefits. Silver Co. provides vacation at the rate of $325 per day. Each employee earns one day of vacation per month worked. In addition, Silver Co. pays a total amount of $670 per month in medical insurance premiums. Silver also contributes a total amount of $420 per month into an employee retirement plan. The federal unemployment tax rate is 6%, while the state tax rate is 4%. Unemployment taxes apply to...
Week 5 Project Write a program that calculates the amount of money a person would earn over a period of time if his or her salary is one penny the first day, two pennies the second day, four pennies the third day, and continues to double each day. Output the amount earned each day .. and the total pay at the end. The Algorithm (Plan) for your program would be: Ask the user for the number of days to be...
QUESTION 1. Your company will receive AUD2,000,000 in 90 days. To convert this amount into USD, you contact a bank to sell AUD forward. Here is the information you got: 90-day forward rate: AUD1 = USD0.85 Today spot rate: AUD1 = USD0.90 After 90 days, market spot rate is AUD1 = USD0.92 If you choose to sell forward, how much USD will you receive? QUESTION 2. Your company will receive AUD2,000,000 in 90 days. To convert this amount into USD,...
Part I: Three-Day Food Log (10 pts) Complete a 3 Day Food Diary. Choose three days, including two weekdays and one weekend day as close together as possible, and write down everything that you eat and drink and the quantity in common household measurements. Try to eat as normal as possible these days. (You will not be graded on how healthy your diet is.) Be sure to include everything such as condiments, sauces, beverages, etc. Try to write what you've...
The files provided in the code editor to the right contain syntax and/or logic errors. In each case, determine and fix the problem, remove all syntax and coding errors, and run the program to ensure it works properly. // Start with a penny // double it every day // how much do you have in a 30-day month? public class DebugSix1 { public static void main(String args[]) { final int DAYS = 30; double money = 0.01; int day =...
ch Rocky Guide Service provides guided 1-5 day hiking tours throughout the Rocky Mountains. Wilderness Tours hires Rocky to lead various tours that Wilderness sells. Rocky receives $2,400 per tour day, and shortly after the end of each month Rocky learns whether it will receive a $240 bonus per tour day it guided during the previous month if its service during that month received an average evaluation of "excellent by Wilderness customers. The $2,400 per day and any bonus due...
Show Me The Money. (15 points) Write a C++ program that calculates how much a person earns in a month if the salary is one penny the first day, two pennies the second day, four pennies the third day, and so on, with the daily pay doubling each day the employee works. The program should ask the user for the number of days the employee worked during the month and should display a table showing how much the salary was...