#include #include #include using namespace std; int main(){ ofstream valja("ruudud.txt"); for(int i=1; i<=10; i++){ valja << i*i << endl; } ifstream sisse("ruudud.txt"); string s; while(getline(sisse, s)){ cout << s << endl; } }