answersLogoWhite

0


Best Answer

#include<iostream>

int main()

{

unsigned num = 25; // or use user-input to assign the value

unsigned root = sqrt ((double) num)

std::cout << "The square root of " << num << " is " << root;

}

User Avatar

Wiki User

9y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Write a c plus plus program to find the square root of a number?
Write your answer...
Submit
Still have questions?
magnify glass
imp