Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

C++ Console Application Use comments, Do not Use \"using namespace std;\" The pu

ID: 3775689 • Letter: C

Question

C++ Console Application Use comments, Do not Use "using namespace std;"

The purpose of this assignment is to help gauge your skills in writing small programs that involve vectors and/or c-string/string arrays. The program also contains functions and may perform input, output, files and file processing, flow of control, and/or calculations. Please note that this assignment indicates precisely what your program should accomplish, without a precise indication of how the program works. Part of your assignment is designing the techniques of how the program works.

PROGRAM SPECIFICATION

Write a program that reads an input file of sentences and converts each word to “Pig Latin.” In this program’s version, to convert a word to Pig Latin, you should remove the first letter and place that letter at the end of the word. Then you append the string “ay” to the word.

Here is an example:

English: I SLEPT MOST OF THE NIGHT

Pig Latin: IAY LEPTSAY OSTMAY FOAY HETAY IGHTNAY

For this program, you will download the ASSGN8-A.txt file. This file contains the English statements we will use for our program. Your program should list (output to the console) the English version from the file, and then the pig latin version (as illustrated above).

Make sure that your programs follow good documentation standards and follow the requirements for assignments. Reference the rubric standards on Springboard. Note functions and data validation are now required. Do not use using namespace std;. For this assignment you are required to submit separate compilation files (place your functions into .hpp files).

Assign8-A.txt

Explanation / Answer

#include #include #include using namespace std; bool check(char word[200]); void vowel (char word[]); void consonant(char word[]); int main() { ifstream in; char filename[200]; cout