Sunday
December 21, 2014

Homework Help: C programming, not C++

Posted by apoorva on Wednesday, April 16, 2008 at 4:11pm.

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 5-2 which is 7 and 3

and 6+2 and 6-2 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

Answer this Question

First Name:
School Subject:
Answer:

Related Questions

how to understand this - design and implement such a function and use it in a ...
Computer programming - Sorting is a common operation used in programming. ...
programming - Write a program which allows user to enter 10 student names and ...
Computer Programing & Logic Design - Submit pseudocode and a flowchart for the ...
Computer Programing & Logic Design - Submit pseudocode and a flowchart for the ...
Computer Programming Design - I really need someone to help me with this.I post ...
programming - Having troube with java, i am not a regular programmer, if anybody...
programming - Using Raptor, create a condition loop that will ask the user for ...
CIS Design and Programming - Design a program that calculates the total amount ...
Math Proof - Let x and y be real numbers. Then x=y if and only if abs(x-y)< ...

Search
Members