فایل متنی
فایل cpp
#include "stdafx.h"
#include "iostream"
using namespace std;
//alidoran
int main() {
int x, y=0;
cout << "please input your
number" << endl;
cin >> x;
while ((y*y) <= x)
y++;
cout <<"answer is : "<< y - 1<<endl;
system("pause");
return 0;
}