Question: 1. Given the following mathematical expression, which is its equivalent expression written in C++? I = Pxrxt A. I= Pxrxt; B. double I = (Pr)t);

 1. Given the following mathematical expression, which is its equivalent expressionwritten in C++? I = Pxrxt A. I= Pxrxt; B. double I

1. Given the following mathematical expression, which is its equivalent expression written in C++? I = Pxrxt A. I= Pxrxt; B. double I = (Pr)t); C. double I=(P*r*t); D. double I = (Prt); E. double I = Pxrxt; 2. The Tomato Bank offers an interest rate of APR (annual percentage rate), 4.5%, to college students as tuition loans. However, the interest is compounded quarterly. Which is the correct way to assign the value of interest rate to a variable named "r" that will be used to calculate the future value. A. float r=4.5%; B. float r=0.045/4; C. float r=0.045/12; D. float r=4.5%/4; E. float r=4.5%/12; 3. Which can display 71.28124 in the format of $71.28 as output? A.print("$%.2f", 71.28124); B. printf("$%.2f", 71.28124); C. printf("$%2.f", 71.28124); D.print("$%2.f", 71.28124); E. printf("$.2f", 71.28124); 4. Which header file is the one that defines the "setprecision()" function? A. B. C. D. E. 5. Which can display 12.5684 in the format of $12.57 as output? 211 H+ Programming A. cout

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!