Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C langauge You are responsible for writing an extension for the MS Word application, which is responsible for counting the lowercase letters, uppercase letters and

C langauge
image text in transcribed
You are responsible for writing an extension for the MS Word application, which is responsible for counting the lowercase letters, uppercase letters and digits in a given text, and reporting these numbers to the user. Given below is the program implementing that extension. Fill in the spaces. Do not use ctyre. library Hint: In Asch, each char corresponds to a number. The digit characters through the uppercase characters through Z, and the lowercase letters through y are consecutive int main) char text1001 into lower Count: upper Count:0, digitCount: printfrenter test gets text: While (texto) 10 1 checkitext is lowercase is lowercount else if.....) che texts uppercase update the correct counter (2) else if the text number to Hint in ASCII, each char corresponds to a number. The digit characters through the uppercase characters through 2, and the lowercase letters through are consecutive int maino char text/1001 intci, lowerCountro, upperCounto, digitCounte printf("enter text: gets text While (text) Context if) // check if text is lowercase (3) lower Count else if...) check if text is uppercase pts Il update the correct counter (2 pts) else if.....) check if textil is a numbers) digitCount // update the correct counter (2 pts) -Il complete pti) prints Il report the counters to the user (4)

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

Sybase Database Administrators Handbook

Authors: Brian Hitchcock

1st Edition

0133574776, 978-0133574777

More Books

Students also viewed these Databases questions