answersLogoWhite

0

#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

11y ago

What else can I help you with?

Related Questions

How do you write Square program using vb?

write a vb program to find the magic square


How do you write a java program to find the square root of a number?

You can use the Math.sqrt() method.


Program to find square and cube of a number?

square and cube caculator


How do you write a c program to find square of a no using call by value?

int square (int N) return N*N;


Write a Shell program to find the smallest number from a set of numbers?

k


Write a Shell program to find the sum of cube of individual digits of a number?

no thanks


How do you write the positive square root of a number as a length of a side of a square with a given area?

You find the square root an then label it as the side.


Write a c program to find given number is prime or not?

Yes, do write, or if you're too lazy to your homework, use google.


What is the largest prime no that is stored in 8 bit pattern?

Write your own prime number program and find out.


Write a C program to find the square of two numbers?

Please visit http://talentsealed.blogspot.com/2009/10/to-find-sqaure-of-numbers-using-c.htmlfor the answer.


The sum of a number and its square is 6 Find the number?

There are two solution: -3 and +2.


Write a Program to find square root of a given number using 8086 microprocessor?

To find the square root of a given number using the 8086 microprocessor, you can implement the Newton-Raphson method in assembly language. First, load the number into a register, then set an initial guess for the square root. Use the iterative formula guess = (guess + number / guess) / 2 until the guess converges to a stable value. Finally, store or display the result.