subject

2.4 Code Practice: Question 2
Instructions
Write a program that accepts a number as input, and prints just the decimal portion. Your program must account for negative numbers.

Sample Run
Enter a number: 15.789
Sample Output
0.789

ansver
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 06:30, eddsworldfrantic
You have a small company and want to keep your costs low, but it is important your employees share data. which network would provide you with the most economical solution?
Answers: 1
image
Computers and Technology, 23.06.2019 20:00, shadow6728g
How much current flows through the alternator brushes? a. 2–5 a b. 25–35 a, depending on the vehicle c. 5–10 a d. 10–15 a
Answers: 2
image
Computers and Technology, 24.06.2019 00:40, dheydar3506
What is the error in the following pseudocode? module main() call raisetopower(2, 1.5) end module module raisetopower(real value, integer power) declare real result set result = value^power display result end module
Answers: 1
image
Computers and Technology, 24.06.2019 16:00, alexisbeasley2
Which of the following characters is acceptable to use in a filename? ? / – %
Answers: 1
You know the right answer?
2.4 Code Practice: Question 2
Instructions
Write a program that accepts a number as inpu...

Questions in other subjects:

Konu
Mathematics, 29.01.2020 06:53
Konu
Mathematics, 29.01.2020 06:53
Konu
Mathematics, 29.01.2020 06:53
Konu
Mathematics, 29.01.2020 06:53