Write C++ One Full Program with Function to Implement Following:
abs(x): return always be positive
1-Function (fnabs1) Absolute1 using by Val method
2-Function (fnabs2) Absolute2 using by Ref method main (Procedure):
user will enter number x in run-time modecall (fnabs 1) for x and store in r1call (fnabs2) for x and store in r2
compare r1 and r2 to see the result same or not
user will in loop until he enter (0) and programterminate immediately
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here