subject

2.4 Code Practice: Question 2 Write a program that accepts a number as input, and prints just the decimal portion. Your program should also work if a negative number is inputted by the user.

Enter a number: 15.789
Sample Output
0.789

Can someone please help me with this because I’m so stuck

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 11:00
What is the foundation for proper monitoring, load balancing and routing in distributed systems
Answers: 3
question
Computers and Technology, 22.06.2019 23:30
What are listed in the vertical columns across the top of the event editor? a. file names b. conditions c. check marks d. action types
Answers: 1
question
Computers and Technology, 23.06.2019 02:30
Research data that is presented using descriptive language is said to be
Answers: 2
question
Computers and Technology, 24.06.2019 15:30
If you want to delete an entire word at a time, which key should you press along with the backspace or delete key?
Answers: 1
You know the right answer?
2.4 Code Practice: Question 2 Write a program that accepts a number as input, and prints just the d...
Questions
question
Mathematics, 05.10.2020 16:01
question
Mathematics, 05.10.2020 16:01
question
Mathematics, 05.10.2020 16:01
question
English, 05.10.2020 16:01
question
Mathematics, 05.10.2020 16:01
Questions on the website: 13722359