Untitled
Anonymous
plain_text
03/05/2023 2:18 PM
348 B
21
Indexable
#include <fstream>
#include <iostream>
#include <string>
using namespace std;
int main()
{
int n;
string a,k;
ifstream in("funk.txt");
while (getline(in,k)) {
if (k[0] == 'A' || k[0] == 'O' || k[0] == 'E' || k[0] == 'I')cout << k<<endl;
}
}Editor is loading...