Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Lab Exercise 4 - Dynamic Allocation Objective: You will use your knowlodge of dynamic allocation and poinners to create dynamic arrays and utilize them Assignment

image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional Microsoft SQL Server 2014 Administration

Authors: Adam Jorgensen, Bradley Ball

1st Edition

111885926X, 9781118859261

More Books

Students also viewed these Databases questions