You are on page 1of 1

#include <iostream>

#include <string>

using namespace std;

int main() {
string tekst;
int ilosc_wielkich_liter = 0;

cout << "podaj tekst: ";


getline(cin, tekst)

for(char znak : tekst)


{

if(char znak : tekst)


{

ilosc_wielkich_liter++;
}
}

cout << "ilosc wielkich liter:" << ilosc_wielkich_liter << endl;

return 0;
}

You might also like