Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This is my C++ program. I am not allowed to use Libraries and inbuilt functions. It is to be made in a 1d dynamic character

This is my C++ program. I am not allowed to use Libraries and inbuilt functions. It is to be made in a 1d dynamic character array. Please follow these instructions. Otherwise, the solution will be of no use to me.

no use string or vector.

only use a character array

only use dynamic character array or integer array

please don't copy to other website

image text in transcribed
Task 13 Write a program in C++ that reads text (character data) from a file (user defined file name). Shifts the array one by one, n times, where n is the length of text. On every shift, checks whether last character is vowel (a, e, i, o, u) or not. If vowel, remove it from the text and decrease the size of text. Text.txt: 18 abcdefgabcdijka bcd Original text: abcdefgabcdijkabcd Modied text: bcdfgbcsjkbcd Task 14 Write a C++ program, with multiple functions, that reads text (character data) from the file. Words in the file are separated by white spaces (' '). Each word, in its entirety, is in either consists of all alpha characters (a... z) or all digits (0... 9), as shown in the example below. The program shall rearrange the text so that all words consisting of digits come before all words consisting of alpha characters. Example Text.txt: 47 A QUICK 12345 .IUMPS OVER 50012 21212 LAZY 11111 Original text: A QUICK 12345 JUMPS OVER 50012 21212 LAZY 11111 Modified text: 12345 50012 21212 11111 A QUICK JUMPS OVER LAZY

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

Financial management theory and practice

Authors: Eugene F. Brigham and Michael C. Ehrhardt

12th Edition

978-0030243998, 30243998, 324422695, 978-0324422696

Students also viewed these Programming questions

Question

g) sales promotions

Answered: 1 week ago