Question: Determine the output for each code In C++ Lenguage Please. 1 // Exercise1.cpp : Exercise 1 177 4 #include stdafx.h #include #include using namespace std;

 Determine the output for each code In C++ Lenguage Please. 1

Determine the output for each code In C++ Lenguage Please.

1 // Exercise1.cpp : Exercise 1 177 4 #include "stdafx.h" #include #include using namespace std; int main() string message = "I have always wished for my computer " "to be as easy to use as my telephone; my wish has "come true because I can no longer figure out how to "use my telephone."; string::Size_type loc = 0; string vowels = "AEIOUYaeiouy": string: :size_type pos = 0; string: :size_type a = 0; while (1) if (loc == 0) { a = vowels.find(message. at(loc)); -0-0- 0 else { pos = message.find(" ", loc); if (pos == string:: npos) break; a = vowels.find(message.at(pos + 1)); if (a == string:: npos) message.at(pos + 1) = message.at(pos + 1) - 32; loc = pos + 1; cout

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!