Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

A number expressed in scientific notation is represented by its mantissa (a frac

ID: 3532599 • Letter: A

Question

A number expressed in scientific notation is represented by its mantissa (a fraction) and its exponent. Write a function that reads a character string that represents a number in C++ scientific notation and stores the number in a struct with two members. Write a function that prints the contents of this struct as a real value. Also write functions that compute the sum, product, difference, and quotient of two numbers in scientific notation stored in two struct arguments. (Hint: The string -0.1234E20 represents a number in scientific notation. The fraction -0.1234 is the mantissa and the number 20 is the exponent).

I'M NOT SURE WHERE TO START OR EVEN HOW TO WRITE A PROGRAM FOR THIS PROBLEM.

Explanation / Answer

I think this would be a good starting point. I have written functions upto sum. Rest is also similar to it.


http://www.2shared.com/document/g_mxMJg5/chegg14.html

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote