In reference to this problem: The Coco Co. is considering two mutually exclusive projects with the following cash flows. Which project would you pick, assuming the cost of capital is 10%? Simply specify A or B in your answer. Year Project A Project B 0 -$150,000 -$50,000 1 $120,000 $10,000 2 $30,000 $30,000 3 $35,000 $30,000
Blog
Description of the Program to Write Upload a .c source file…
Description of the Program to Write Upload a .c source file containing a main function that implements the following program. Two players take turns entering a positive integer between 1 and 100 inclusive. The first player may enter any number between 1 and 100. Every subsequent number entered must satisfy the following rule: The sum of the digits in the number must be equal to the sum of the digits in the previous number. Example: if the previous number is 23 (sum = 2 + 3 = 5), the next number must have a digit sum of 5 (e.g., 14, 32, 50). Players may not enter numbers that have been previously used. At the start of the game, the user specifies how many numbers the program should memorize. If this limit is reached, the program refuses to memorize additional numbers but continues validating moves. A player may give up by entering 0, which immediately ends the game. The program tracks the length of the sequence (number of valid numbers entered). The winner is the player who last successfully entered a valid number. At the end of the game, the program displays: The winning player The length of the sequence The numbers that were memorized during the game (up to the maximum specified in item #5) Sample Program Execution Number Chain with Digit-Sum Rule starting.How many numbers should I keep track of? -2How many numbers should I keep track of? 0How many numbers should I keep track of? 3Player 1: Enter a number (any number between 1 and 100): 23Memorized number #1 is 23The sequence length is now 1.Player 2: Enter a number (sum of digits must equal 5): 14Memorized number #2 is 14The sequence length is now 2.Player 1: Enter a number (sum of digits must equal 5): 32Memorized number #3 is 32The sequence length is now 3.Player 2: Enter a number (sum of digits must equal 5): 41Too many numbers to rememberThe sequence length is now 4.Player 1: Enter a number (sum of digits must equal 5): 50Your number has already been used or is invalid. Try again.Player 1: Enter a number (sum of digits must equal 5): 23This number has already been used. Try again.Player 1: Enter a number (sum of digits must equal 5): 5Memorized number #4 is 5The sequence length is now 5.Player 2: Enter a number (sum of digits must equal 5): 50Too many numbers to rememberThe sequence length is now 6.Player 1: Enter a number (sum of digits must equal 5): 0Player gave up. Game is over.Winner is player 2 with a sequence length of 6.The numbers that were memorized during the game are:231432 Functions to implement 1. int ask_user_how_many_used_numbers(void);Prompt user for the number of numbers to memorize (>0).Returns: number of numbers to memorize. 2. int* allocate_used_numbers(int how_many);Allocate array for memorized numbers, initialized to 0.Parameters: how_many — max size.Returns: pointer to array. 3. bool already_used(int* used, int n, int current);Check if n is already in used.Parameters: used — array, n — number to check, current — count stored.Returns: true if used, false otherwise. 4. void remember_number(int* used, int n, int max, int* current);Store n in used if memory allows; increment current. 5. bool is_valid_number(int prev, int n);Validate n: 1–100, and if not first number, digit sum equals previous number.Parameters: prev — previous number (0 if first), n — candidate number.Returns: true if valid, false otherwise. 6. int main(void);Implements the game loop: prompts each player for input, validates numbers, checks duplicates, handles giving up, alternates turns, tracks sequence and memory, declares winner.Returns: 0 on exit. Grading Criteria Rubric # Pts Additional Grading Notes The program compiles without compilation errors or warnings 3 Deduct 1 point per minor compilation error (e.g., typo, forgotten semi-colon, forgotten or extra curly braces or parentheses). If the program does not compile due to too many errors or due to an error that is non-trivial to fix (see above), then the whole assignment receives zero points. The program executes without crashing at runtime 3 Deduct one point for each use case that leads the program to crash (maximum 3) Function ask_user_how_many_used_numbers 3 3 – Implemented according to requirements 2 – Mostly properly implemented 1 – Not properly implemented 0 – not implemented Function allocate_used_numbers 3 3 – Implemented according to requirements 2 – Mostly properly implemented 1 – Not properly implemented 0 – not implemented Function already_used 3 3 – Implemented according to requirements 2 – Mostly properly implemented 1 – Not properly implemented 0 – not implemented Function remember_number 3 3 – Implemented according to requirements 2 – Mostly properly implemented 1 – Not properly implemented 0 – not implemented Function is_valid_number 3 3 – Implemented according to requirements 2 – Mostly properly implemented 1 – Not properly implemented 0 – not implemented main function 3 3 – Implemented according to requirements 2 – Mostly properly implemented 1 – Not properly implemented 0 – not implemented Total 24
Choose all the normal forms satisfied by the following datab…
Choose all the normal forms satisfied by the following database comprising two tables. The primary keys are underlined. CustomerID Name AccountNo BranchCode 1 ABC 12345409 123 2 DEF 13983909 345 4 CED 12028920 123 BranchCode BranchName BankName StockTicker 123 Madison US Bank USB 345 Fitchburg US Bank USB 856 Madison Well Fargo WFC
Provide the proper name of these bones that the 1-5 are loca…
Provide the proper name of these bones that the 1-5 are located on, (one word).
Name the location the red arrow is point at 1 [1] What is th…
Name the location the red arrow is point at 1 [1] What is the general name for bones 4-9, not the individual names, the group name 2 [2] What is the general name for the bones with the #10 on them, again the group name 3 [3] What is the general name for the bones in the 11-13 position? A Middle Finger or The Bird Finger are not answer, 🙂 4 [4]
Name this part of the Compact Bone that #2 is pointing at in…
Name this part of the Compact Bone that #2 is pointing at in the micrograph.
On April 1, 2024 Eagle Corp. purchased $60,000 of Bobcat Inc…
On April 1, 2024 Eagle Corp. purchased $60,000 of Bobcat Inc.’s 8% bonds at a purchase price of 105. At the time of purchase the market rate of interest was 6%. Eagle Corp. whose year end is December 31, expects to hold the bonds until their maturity date 5 years from the date of purchase. Interest on the bonds will be paid every April 1 and October 1 until maturity. What is the carrying value (amortized cost) of the bond that Eagle Corp. would report on October 1, 2024? You must use the honorlock calculator to solve the problem. (round to the nearest dollar). Answer: $_______
Eagle Corp. paid $1,500,000 for a group purchase of land, a…
Eagle Corp. paid $1,500,000 for a group purchase of land, a building, and equipment. At the time of the acquisition, the land had a current market value of $500,000, the building had a current market value of $800,000, and the equipment had a current market value of $300,000. In what amount should the equipment account be debited? You must use the honorlock calculator to solve the problem (round to the nearest dollar) Answer: $_______
Eagle Corp. purchased land, buildings and equipment for 900,…
Eagle Corp. purchased land, buildings and equipment for 900,000. The land has been appraised at $250,000, the buildings at $650,000 and the equipment at $100,000. The journal entry to record this transaction will include a debit to buildings for: You must use the honorlock calculator to solve the problem (round to the nearest dollar): Answer: $_______
On January 1, 2024 Eagle Corp. purchases $800,000 of 6% bond…
On January 1, 2024 Eagle Corp. purchases $800,000 of 6% bonds that mature in 12 years, with interest payable on June 30 and December 31 each year. Eagle Corp. purchases all the bonds in a private placement and intends to hold the bonds until maturity. Assuming the market rate of interest on the issue date is 8%, Eagle Corp. will purchase the bonds for $697,497. Calculate the amount of interest revenue that Eagle Corp. would record for the December 31, 2024 interest payment. You must use the honorlock calculator to solve the problem (round to the nearest dollar).