+ 3
Suppose int x=36 but i want to print square root of variable x then how should i give instruction to print square root of x .
5 Antworten
+ 9
Here is the code👇
https://code.sololearn.com/cq0qYvwktY84/?ref=app
+ 16
#include <cmath> and do cout << sqrt(x); .
+ 5
@Harsh Jaiswal,
Thanks for Best Answer! 👏👏👏
+ 1
i dont know please anyone answer me
0
int y = 0;
int x = 0;
cin« x;
y = x*x;
cout» y;