subject

The tax calculator program of the case study outputs a floating-point number that might show more than two digits of precision.

use the round function to modify the program to display at most two digits of precision in the output number.

below is an example of the program input and output:

enter the gross income: 12345.67

enter the number of dependents: 1

the income tax is $-130.87

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 05:00
Write a loop that reads positive integers from standard input and that terminates when it reads an integer that is not positive. after the loop terminates, it prints out, on a line by itself and separated by spaces, the sum of all the even integers read, the sum of all the odd integers read, a count of the number of even integers read, and a count of the number of odd integers read, all separated by at least one space. declare any variables that are needed. assume the availability of a variable, stdin, that references a scanner object associated with standard input. that is, stdin = new scanner(system.in); is given.
Answers: 3
question
Computers and Technology, 22.06.2019 22:30
What is the most popular genre of video games?
Answers: 1
question
Computers and Technology, 22.06.2019 23:30
Define a function printfeetinchshort, with int parameters numfeet and numinches, that prints using ' and " shorthand. ex: printfeetinchshort(5, 8) prints: 5' 8"
Answers: 1
question
Computers and Technology, 24.06.2019 03:30
The footer area of a web page generally houses which website feature? terms of use web page content business name or title menu headings
Answers: 1
You know the right answer?
The tax calculator program of the case study outputs a floating-point number that might show more th...
Questions
question
Mathematics, 04.03.2021 03:40
question
English, 04.03.2021 03:40
question
Mathematics, 04.03.2021 03:40
question
Mathematics, 04.03.2021 03:40
question
Mathematics, 04.03.2021 03:40
question
Computers and Technology, 04.03.2021 03:40
question
Mathematics, 04.03.2021 03:40
question
Mathematics, 04.03.2021 03:40
Questions on the website: 13722367