subject

Write a program that reads in two double numbers followed by an integer (say n). the goal of the program is to check if the two numbers are equal to n significant digits
the input will be one or more lines of three numbers. the first two numbers are doubles and represent the two numbers that are to be compared. the third number is an integer and represents the number of significant digits to check (for equality of the two numbers).
the output will show the difference up to 10 decimal places (as shown in sample output) and then whether the numbers are equal or not.
sample input
1.112 1.113 2
1.123 1.124 3

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 16:20
Octothorpe is another name for what common computer keyboard symbol?
Answers: 1
question
Computers and Technology, 23.06.2019 18:00
Which finger presses the h key on the keyboard? index finger on the left hand pinky finger on the right hand index finger on the right hand thumb on the left hand
Answers: 1
question
Computers and Technology, 23.06.2019 22:30
Apart from confidential information, what other information does nda to outline? ndas not only outline confidential information, but they also enable you to outline .
Answers: 1
question
Computers and Technology, 24.06.2019 01:00
Verify each identity[tex] \frac{csc}{cot \: x \: + \: tan \: x} = cos \: x[/tex]
Answers: 1
You know the right answer?
Write a program that reads in two double numbers followed by an integer (say n). the goal of the pro...
Questions
question
Mathematics, 02.06.2021 19:40
question
Mathematics, 02.06.2021 19:40
question
Mathematics, 02.06.2021 19:40
question
Mathematics, 02.06.2021 19:40
Questions on the website: 13722367