The assignment is attached

1 answer below »
The assignment is attached


CSC 303: DIGITAL LOGIC AND COMPUTER DESIGN CSC 219: Programing in C Lab 11 20 Points Due Apr 28, 2022 This lab uses functions in ctype.h to manipulate character strings. Write a C program that does the following: 1. Prompts the used to enter input. The input consists of any number of characters from the standard input (keyboard). The input is processed until the user enters the character z (lower case). 2. Counts the number of whitespace characters (tab, enter, space), the number of digits, the number of lower case letters (not counting z) and the number of upper case letters in the input. Any other type of character is not counted, but will be used in part 3. 3. Prints out the user input exactly as it was typed in, but with all lower case letters changed to upper case and all upper case letters changed to lower case. Sample input/output: The words tab and newline mean the keys for these events. Enter any input from the keyboard. To end input z (This is what the user enters) 11Sd‘tab’‘newline’ W34^‘newline’ z (This is what the program outputs) 11sD‘tab’‘newline’ w34^‘newline’ The number of whitespace characters is: 3 The number of digits is: 4 The number of lowercase characters is: 1 The number of uppercase characters is 2 Goodbye
Answered 1 days AfterMay 03, 2022

Answer To: The assignment is attached

Nimesh answered on May 05 2022
92 Votes
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here