Hey1 fox so last weekend my friend asked if i could help her on her Comp Sci project, Little did she know im not a programming genius. So i've come to the one and only Daniweb for help... here's what she's supposed to do..
Write a C++ program by completing the following steps:
1.Write the heading for a bool function Equals that has two value float parameters, x and y.
2.Write the function prototype for the function in Step 1.
3.Write a body for the function in Step 1 that compares x and y, returning true if their difference is less than 0.0001, and false otherwise.
4.Write the main function that reads two float numbers from keyboard, call the function using these two floats as arguments, and display a message that includes the two numbers compared and the either they are equal or not based on the value returned by function.
All help is appreciated make me look good guys :D thanks.