Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribedimage text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Manga Guide To Databases

Authors: Mana Takahashi, Shoko Azuma, Co Ltd Trend

1st Edition

1593271905, 978-1593271909

More Books

Students also viewed these Databases questions

Question

Is money the prime driver of employee performance?

Answered: 1 week ago