Question: Lab Exercise 4 - Dynamic Allocation Objective: You will use your knowlodge of dynamic allocation and poinners to create dynamic arrays and utilize them Assignment
Lab Exercise 4 - Dynamic Allocation Objective: You will use your knowlodge of dynamic allocation and poinners to create dynamic arrays and utilize them Assignment Using your own IDE, you will be tasked with creating a peogram and presenting your program to your TA once you are done. Inside this program, it should ask the user for two inputs string and int in that respective order. The inputted int will determmine the size of your dynamical anray of char type. The inputted string will be spliced by each of its individual characters so that each character that is NOT a vowel gets placed inside this dysamie array. Aherwards, the array must be accessed so that it outputs out the string without the vowels along with the size of the dynammic array. Once that is complete, the program must repeat until the user inputs the string end" to stop the program Requirements: Dynamic arrays ust be used. Ublining and accessing regular arrays will resul in ro. This includes initializing values and outputting . The peogram must run indefinitely until the user inputs "end" as the string . Your program must account for if the user enters nd with any of its letiers capitalized. (ie. "eNd,Ed, END, tc Not doing so will result in a program error and a non-complete program tarts printing from the dynamic array . You must remember to release he dynamically allocated memory once you are done The output must contain no vowels aftfer the user inputs the string and the program Test Case 1 Level howdy End Test Case 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
