Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

gramming assignments, the following type of comment block should be at the top of the program Your Full Name Labxxxxx.cpp [the actual program name /CSC133-xx

image text in transcribed
image text in transcribed
gramming assignments, the following type of comment block should be at the top of the program Your Full Name Labxxxxx.cpp [the actual program name /CSC133-xx (substitute your section number for the xx') /l This program will ..[Main purpose of the program] Il programs should display the following on the first several lines of printed output: Date Printed Labxxxx.cpp (2) Your Full Name (4) (A blank line) 1. Create a program that searches a sting of letters input by the user. CSci 33- a. The program should count how many of each letter occurs in the word b. The program should count upper and lower case letters separately 2. Method: Create a 52 position array to hold each letter of the alphabet (both upper and lower case). Create another 52 position array that will serve as a parallel array that would contain the number of occurrences of each letter of the alphabet for the user inputted word. a. b. c. Call a function which prompts the user to enter the word and then inputs the word. d. Call a function to check each letter in the inputted string and to count the number of occurrences of each letter in the word Call another function to display the following outputs: (1) (2) e. How many characters there are in the word Which letters of the alphabet have been found in the string and how many occurrences of each letter were found. Be sure all the letter counts line up and the total lines up. Sample processing: (3) (4) LETTER COUNTS 99999+4+4999** Enter the word to be letter counted: Computer There are 1C's There are 1 e's There are 1 m's There are 1 o's There are 1 p's There are lr's There are 1 t's There are 1 u's There is a total of 8 characters in the word "Computer

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

Spomenik Monument Database

Authors: Donald Niebyl, FUEL, Damon Murray, Stephen Sorrell

1st Edition

0995745536, 978-0995745537

More Books

Students also viewed these Databases questions

Question

What do Dimensions represent in OLAP Cubes?

Answered: 1 week ago