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

The development of early Greek culture occurred over a period of approximately how many years? A 400 B 1200 C 1800 D 2200
they indicate that something belongs to someone it shows possession
Who invented the printing press, and in what year?
What country is Sydney Opera House?
I want a same sentence from two words sharecropper and windswept??
If you do not respect someone ______. a. They have not earned it b. They will not respect you c. They have to work harder d. They are unable to improve
The following question refers to the analysis of media. ______________________ refer to words that are used to persuade an audience by appealing to their emotio
Select all that apply. Which of the following diseases are rarely contracted in the United States? yellow fever rabies chicken pox measles AIDS
Women received no voting rights in the United States until the passage of the 19th Amendment.
Sexual orientation is best defined in terms of ______________