diff --git "a/Beginner Level \360\237\223\201/PrintPerfectSquares/PerfectSquare.cpp" "b/Beginner Level \360\237\223\201/PrintPerfectSquares/PerfectSquare.cpp" new file mode 100644 index 00000000..a8821f6e --- /dev/null +++ "b/Beginner Level \360\237\223\201/PrintPerfectSquares/PerfectSquare.cpp" @@ -0,0 +1,11 @@ +#include "bits/stdc++.h" +using namespace std; + +int main(){ + long long n; + cin>>n; + long long x = floor(sqrt(n)); + for(long long i = 1;i<=x;i++){ + cout<<(i*i)<