Global Foundries (GF), a privately held companythat invests in companies producing essentialcomponents for high-volume data storage, is valuedat $4.0 billion dollars. A computer companythat wants to get into cloud computing is consideringthe purchase of GF, but because of the uncertaineconomy, it would prefer to purchase anoption that will allow it to buy the company forup to 1 year from now at a cost of $4.3 billion.What is the maximum amount the companyshould be willing to pay for the option if itsMARR is 9% per year?
ENGR 121 B Lecture Notes for 10/26/2016 Spencer Kociba ● Most efficient way of combining checks/conditions are if/else statements ○ If ○ Elseif ○ Elseif ○ Else ○ End ○ You can have multiple elseifs ● Example of switch case ○ Function grade=lettergrade_using_switch(quiz_score) ○ Switch score ■ Case 10 ● grade=’A’ ■ Case 9 ● grade=’A’ ■ Case 8 ● grade=’B’ ■ ….. ■ Otherwise ● grade=’F’ ○ End %ends the switch command ○ End %ends the function ● Menu (‘prompt for what you’re c