Advertisement
Guest User

Untitled

a guest
Jul 18th, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. #include <iostream>
  2. #include <cmath>
  3. using namespace std;
  4. int main()
  5. {
  6. int num, result;
  7. cout << "Enter any number: ";
  8. cin >> num;
  9. result = cbrt(num);
  10. cout << "\n Cube Root of "<< num <<" is: " <<result;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement