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

Which development occurred in German as a result of the terms imposed by the treaty of Versailles
¿Es un tipo de iguana que encuentras en los Galápagos?
HELP ASAP!!! A slideshow that accompanies an oral report is known as what? A. Excel spreadsheet B. Microsoft Word document C. PowerPoint presentation D. Web pag
The idea that a grammatical structure for language is hardwired in our brain comes from
Consider the haplotype for the bacterial lac operon: i-o+z+. there is also a plasmid with the haplotype: i+ocz-. for all of the questions below, assume there is
In scientific inquiry a stated possible explanation is called
One mole of copper(ii) sulfate, cuso4, contains ________ o atoms.
The study of the sound system of language, including how words are pronounced is known as _____.
The number of members f(x) in a local swimming club increased by 30% every year over a period of x years. The function below shows the relationship between f(x)
3. The total cost for 8 bracelets, including shipping was $54. The shipping charge was $6. Define your variable and write an equation that models the cost of ea