Square Root Demonstration Program
Create a program that calculates and outputs the square root of the following numbers:
- 16
- 49
- 81
Requested Output
4
7
9
answer
#include <iostream>
int main()
{
std::cout << sqrt(16) << std::endl;
std::cout << sqrt(49) << std::endl;
std::cout << sqrt(81) << std::endl;
}