Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hi, help to provided clearly written on this programming. Help to ensure no error inside this programing and also please provide fully answer. thanks 2.

Hi, help to provided clearly written on this programming. Help to ensure no error inside this programing and also please provide fully answer. thanks

image text in transcribed

2. Write a program to take in a sentence in the form of a character string. Then rearrange the words in the sentence so that all the words are reversed. Your program needs to display the original sentence and the modified sentence. The number of characters, including blanks and other symbols with the NULL character excluded should be displayed. The length of the string needs to be displayed as well. After that, the program shall sort the string in the following order: lowercase characters, uppercase characters, digits and other symbols. Then the sorted sentence should be displayed. You need to print out your name, ID and class on the screen when the program starts string. The modified sentence must be stored in a separate string An example of the output interface: C:Documents and Settings Administrator Wy Documents Visual CDebuglinvert sentence.... lass XYZ his progran will take in a sentence fron you and invert the letters in each ind ividual words ype in a sentence with no more than 100 characters including space: tring length is 19 he original sentence is I an H15ST CPd4 ?*gH he modified sentence is Ima H15T dPC4 ?Hg he sorted sentence is adgmCHH!PT1457 Press any key to continue

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

Information Modeling And Relational Databases

Authors: Terry Halpin, Tony Morgan

2nd Edition

0123735688, 978-0123735683

More Books

Students also viewed these Databases questions