The function heading double TenToThePower (int n) Is for a function that returns
ID: 3673305 • Letter: T
Question
The function heading double TenToThePower (int n) Is for a function that returns 10.0 raised to any integer power. Which of the following statements stores into somedouble the value 10.0 raised to the power somelnt? TenToThePower (somedouble, someInt); TenToThePower (someInt); TenToThePower (someInt) = somedouble; somedouble = TenToThePower (someInt); someInt = TenToThePower (somedouble); The function heading double TenToThePower (in n) Is for a function that return 10.0 raised to any integer power. Which of the following statements represents an appropriate use of the TenToThePower function? somedouble = 4.96 * TenToThePower (8) + 2.5; TenToThePower (6); if (TenToThePower (someInt) > somedouble) beta = 3; a and b above a and c aboveExplanation / Answer
Answer:
Problem number 17----------------------->correct answer is option (d) i.e somedouble=TenToThePower(someInt);
Problem number 18------------------------->correct answer is option (e) i.e a and c above they are
a)somedouble = 4.96 * TenToThePower(8) + 2.5; and
c) if (TenToThePower(someInt) > somedouble)beta = 3;
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.