Question: A number expressed in scientific notation is represented by its mantissa (a fraction) and its exponent (an integer). 1. Define a type sci_not_t that

A number expressed in scientific notation is represented by its mantissa (a fraction) and its exponent (an integer). 1. Define a type sci_not_t that has separate components for these two parts. 2. Define a function scan_sci that takes from the input source a string representing a positive number in scientific notation, and breaks it into components for storage in a sci_not_t structure. 3. The mantissa of an input value (m) should satisfy this condition: 0.1
Step by Step Solution
3.38 Rating (142 Votes )
There are 3 Steps involved in it
include Defining type scinott typedef struct double mantissa int exponent scinott Defining scansci s... View full answer
Get step-by-step solutions from verified subject matter experts
