+ 1
• Write a program in C++ that input a string from the user and counts the number of vowels in the string?
4 Antworten
+ 3
#include <iostream>
int main(){
std::cout<< "Assignements CANNOT be delegated to others"<<std::endl;
return 0;
}
+ 2
make an array of vowels, then iterate through the string and check if the current character exists in the vowel array
there, now just to code it ;)
+ 1
What language?
+ 1
C++