#include <iostream> #include<cmath> #include<ctime> #include<string> #include <iomanip> #include <fstream> using namespace std; int main() { int n = 1; int largest = 0; while (n*n<30000) { if (n > largest) { largest = n; } n++; } cout << "the largest number is " << largest; }