Instructions:
Example:
Enter string: Philippines
#include <iostream> #include <string> #include <cctype> using namespace std; int main() { string inputString = ""; cout<<"Enter string: "; getline(cin, inputString); int i; for(i=0; !isupper(inputString[i]);i++ ) ; cout<<i; return 0; }
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments