medeumedeu200 medeumedeu200
  • 06-03-2018
  • Computers and Technology
contestada

Given a positive real number, print its fractional part.

Respuesta :

tonb
tonb tonb
  • 06-03-2018
The modf() function will do this for you:

double x, y, d;
x = -14.876;
y = modf(x, &d);
printf("Fractional part = %lf\n", y);

Answer Link

Otras preguntas

When energy-yielding nutrients are consumed in excess, which one(s) can lead to increased storage of fat?
Which species normally has cloudy urine when it's passed? A. Ovine B. Porcine C. Equine D. Bovine
hownare the three major monotheistic religions the same and different
After they got off of the school bus the children dropped their backpacks on their front porches yelled hello to their parents and then we’re running towards th
In cell h5 enter a formula that will calculate the percentage of attendees tjat went ro altmonte speings job gair in 2018
Is a manifest of a Dutch ship listing the number of slaves on board an example of a secondary source?
What happened after lexington and concord?
A family of organic compounds soluble in organic solvents but not in water is called
Ribosomes are made up of two subunits. each subunit is made up of rna molecules (rrna) and proteins. which cell structure is responsible for making the rna mole
What is the product of 8.2 × 10/\9 and 4.5 × 10/\-5 in scientific notation? 36.9 × 10/\-45 12.7 × 10/\4 3.69 × 10/\5 3.69 × 10/\14