1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Snezhnost [94]
3 years ago
14

Given a positive real number, print its fractional part.

Computers and Technology
1 answer:
givi [52]3 years ago
8 0
<span>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);

</span>
You might be interested in
Which of the following correctly stores 45 squared in the variable x?
timama [110]

Answer:

x = 45

x = x ** 2

6 0
3 years ago
In the game Singularity, broken objects can be restored to their original condition by reversing time. This is an example of whi
Zolol [24]

Solution:

In the game Singularity, broken objects can be restored to their original condition by reversing time. This is an example of which time element of player adjustment.

Thus the required answer is player adjusted.

6 0
3 years ago
Read 2 more answers
Choose all the answers that apply.
den301095 [7]
[1] is false, because we are talking about light reaching Earth's surface as a whole, and not in one specific place.

[2] is false, because even if it was in the middle of the night, the other side of the world will be recieving pretty much just as much light as you did the following day.

[3] is false, because even though the sun comes up lower during Winter months, and higher during Summer months, seasons are not constant throughout the entire world. So for what may be Winter for you, will likely be Summer for someone else, so still, just as much light is reaching the Earth.

[4] is false, because wind doesn't affect how light travels.

[5] is true, because clear skies will allow more light to come through that cloudy skies, for example, meaning the amount of light reaching the Earth's surface would not be consistent.
7 0
3 years ago
Read 2 more answers
bad word bad word bad word bad wordbad word bad wordbad word bad wordbad word bad wordbad word bad wordbad word bad wordbad word
topjm [15]

Answer:

men badwordbadword badwor

7 0
3 years ago
24 3 Ans a. Define the term computer hardware. b. C. What are input devices? List any two input devices. What is processing devi
marysya [2.9K]

Explanation:

hardware are the physical parts of the computer which can be touched seen and felt is called hardware.

the device which are use to inter data and instructions from the user is clawed input device. foreg; keyboard , mouse.

the processing device of computer is cpu

the printed information which can be touched and seen is Called hardcopy .

soft copy are which can be seen but not touched is called soft copy .

the device that are use to store data and instructions is called storage devices.

8 0
1 year ago
Other questions:
  • Write a main method that prompts the user for an integer between 1 &amp; 10 (inclusive). If the user enters an invalid number, p
    10·1 answer
  • PLEASE HELP!!!!! MUCH OBLIGED!!!!
    15·1 answer
  • Windows uses a memory-management technique known as ________ to monitor which applications you use most frequently and then prel
    8·1 answer
  • Rint "Censored" if userInput contains the word "darn", else print userInput. End with newline.
    11·1 answer
  • You are given a class named Clock that has one int instance variable called hours.
    14·1 answer
  • PLEASE HELP WITH MY CODING!!!!!!!!!!!!!!
    7·2 answers
  • Solve(-8/3)+7/5 please answer​
    5·1 answer
  • WILL GIVE BRAINLIEST! The command simplify is used if you only want the first two digits of a decimal to appear in the interpret
    13·1 answer
  • When is not appropriate to be funny in a headline
    7·1 answer
  • What is the digital revolution and how did it change society?
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!