rendered paste body#include <iostream>#include <cstdlib>#include <fstream>#include <string>using namespace std;struct counter{ int tal1; int tal2; int resultat;};int main(){ while(true){ string line; ifstream file("texten.txt"); if (file.is_open() ) { while (! file.eof() ) { getline (file, line), cout << line << endl;} myfile.close();} else cout << "Error, can read file!";int temp = 0;cout << "Vad vill du göra nu? (0: Fortsätta, 1: Avsluta)\n";cout << "----------------------------------------------\n";cin >> temp;if (temp!=0){ break;}} system("clear");}return 0;}