Question
a)Write a C program to find the number of digits, uppercase and lowercase letters and a total alphabet letters, in a sentence entered by
a)Write a C program to find the number of digits, uppercase and lowercase letters and a total alphabet letters, in a sentence entered by the user. Define and use the following function for this job and print the results in main. (Do NOT use ctype functions) void countDULA (const char *, int *, int *, int *, int *); EXAMPLE OUTPUT 1: Enter a sentence: BaZZINGA! from S02E23 Number of digits = 3 Number of upper case letters = 8 Number of lower case letters = 6 Number of total alphabet letters = 14. b) Edit the conditional operations made in the function countDULA to use ctype functions. (Do NOT alter the main)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Heres a sample C program that finds the number of digits uppercase and lowercase letters and ...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get StartedRecommended Textbook for
Java An Introduction To Problem Solving And Programming
Authors: Walter Savitch
8th Edition
0134462033, 978-0134462035
Students also viewed these Programming questions
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
View Answer in SolutionInn App