C programming, not C++
posted by apoorva .
design and implement such a function and use it in a program called part3.c that allows someone to enter two real numbers and an epsilon value (also a real number) and reports if the two numbers are equal (+/ epsilon) or not.
If you were asked this question, how would you try to understand this question;
This is how I looked at it;
I'm asked for two real numbers and an epsilon number.
for example, 5 and 6. epsilon is then 2.
So when I compile my program, my program will do this: 5+2 and 52 which is 7 and 3
and 6+2 and 62 which is 8 and 4.
Then the result I would have program say would be: No, this is not equal.
Am I reading this right, please help
Respond to this Question
Similar Questions

how to understand this
design and implement such a function and use it in a program called part3.c that allows someone to enter two real numbers and an epsilon value (also a real number) and reports if the two numbers are equal (+/ epsilon) or not. If you … 
Computer programming
Sorting is a common operation used in programming. Although languages such as Visual Basic 2008 offer builtin methods for sorting, other languages such as C do not support such a method. In order to be a programmer you should be able … 
Computer Programing & Logic Design
Submit pseudocode and a flowchart for the following programming exercise: Largest and Smallest Design a program with a loop that lets the user enter a series of numbers. Theuser should enter 99 to signal the end of the series. After … 
programming
Using Raptor, create a condition loop that will ask the user for input of two numbers. The numbers should be added and the sum displayed. The loop should also ask the user if he or she wishes to enter two more numbers and perform the … 
programming
Step 1: Design a flowchart or write pseudocode for a program that allows a user to enter 12 numbers, then displays all of the numbers (in the order they were entered) as well as the largest number and the smallest number. Step 2: Implement … 
Real Analysis
Let a be a real number and let m, n be natural numbers such that m < n. Prove that if 0 < a < 1 > a^n < a^m < 1. So, what I thought to start was: since 0 < a 0 < a^n Also a < 1, a^n < 1. By the property … 
Programming
Design and plan the logic for a program that prompts the user for and allows the user to enter TWO numbers. The program outputs the sum of the two values. Provide declarations. 
computer programming
Design the pseudocode for a program that allows a user to enter 10 numbers, then displays them in the reverse order of their entry 
computer programming
Design the logic for a program that allows a user to enter 10 numbers, then displays each and its difference from the numeric average of the numbers 
computer programming
Design the logic for a program that allows a user to enter any amount of numbers up to 10 or until a sentinal value of 1 is entered. Then the program displays the count of the numbers entered and numeric average of the numbers (not …