Question: Write a C++ program with a function called abs_num The main() sends a prompt for user to input a positive or negative decimal number. The

Write a C++ program with a function called abs_num The main() sends a prompt for user to input a positive or negative decimal number. The number is passed to function abs_num. The function outputs the absolute number to console. The function returns no value to main()
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
