# Square Root and Absolute Value in C++

Email
 Submitted on: 6/12/2016 9:59:27 AM By: Jake R. Pomperada Level: Beginner User Rating: Unrated Compatibility: C++ (general) Views: 1395

A square root and absolute value in C++ program that I wrote a long time ago in my programming class in college. The code is very easy to understand and learn for beginners that are new in C++ programming. Add me at Facebook my address is jakerpomperada@gmail.com and jakerpomperada@yahoo.com. My mobile number here in the Philippines is 09173084360.

code:
Can't Copy and Paste this?
 ``` //************************************** // Name: Square Root and Absolute Value in C++ // Description:A square root and absolute value in C++ program that I wrote a long time ago in my programming class in college. The code is very easy to understand and learn for beginners that are new in C++ programming. Add me at Facebook my address is jakerpomperada@gmail.com and jakerpomperada@yahoo.com. My mobile number here in the Philippines is 09173084360. // By: Jake R. Pomperada //************************************** #include #include using namespace std; class square_root { public: int value; }; main() { square_root number; cout << "\t\t Square Root and Absolute Value Solver 1.0 "; cout << "\n\n"; cout << "Enter A Number : "; cin >> number.value; cout << "\n\n"; cout << "The Square Root Value of " << number.value << " is " << sqrt(number.value) << "."; cout << "\n"; cout << "The Absolute Value of " << -number.value << " is " << abs(number.value) << "."; cout << "\n\n"; system("pause"); } ```

Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

What do you think of this code (in the Beginner category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)