Examness

Beginner C++

২টি অনুশীলন · শেখানোর ক্রমে

  1. 1Largest in a vectorWrite `int largest(const vector<int>& v)` returning the biggest element. The vector is never empty.vectorloopsreferences8m
  2. 2Count the vowelsWrite `int count_vowels(const string& s)` counting a, e, i, o, u - capitals included.std::stringiterationtolower8m