Untitled
unknown
plain_text
3 years ago
259 B
11
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...