hello my output is wrong- i want to have “hello how are you” turn into having the fist character put at ends of words and ‘a’ and ‘y’ added at end basically pig latin. I want all my variables and loop

Do you need academic writing help with your homework? Let us write your papers.


Order a Similar Paper Order a Different Paper

hello my output is wrong- i want to have “hello how are you” turn into having the fist character put at ends of words and ‘a’ and ‘y’ added at endbasically pig latin.I want all my variables and loops to stay basically the same just might need help with logic.please dont add any additional libs i need keep syntax simple

-should really only take someone 5-10 mins to help

this is in c++ coding language fyi

Save your time - order a paper!

Get your paper written from scratch within the tight deadline. Our service is a reliable solution to all your troubles. Place an order on any task and we will take care of it. You won’t have to worry about the quality and deadlines

Order Paper Now

i accidently put an exta } at end of code please ignore – code runs

my current output is hhlo if user puts hello

hello my output is wrong- i want to have “hello how are you” turn into having the fist character put at ends of words and ‘a’ and ‘y’ added at end basically pig latin. I want all my variables and loop
#include #include using namespace std; int main() { //set vars const int size =81; char inStr[size]; char outStr[size + 20 ] = “”; int currentInIndex = 0; int currentOutIndex = 0; char firstChar = 0; cout << " Enter a sentence and I will translate it to Pig Latin: "; cin.getline(inStr,size); int length = strlen(inStr); //test for errors if (length>size) { cout << "Error"; return 42; } firstChar = inStr[0]; //parse through arrays for (currentInIndex =0; currentInIndex

Our team of vetted writers in every subject is waiting to help you pass that class. With keen editors and a friendly customer support team, we guarantee custom-written, original, high-quality papers. Get top grades.


Order a Similar Paper Order a Different Paper