Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1) (I need only flowchart please no codine) Write a C program to count the number of alphabets (upper-case and lower-case) and the number of

image text in transcribed

1) (I need only flowchart please no codine) Write a C program to count the number of alphabets (upper-case and lower-case) and the number of words in a string defined in the program. Please do not use the library functions to determine if a character is a letter. (Hint-You can compare with ASCII values.] For demonstration purpose, please sure that your output looks like following: String: Hello! Welcome to CPE325. It's a great day, isn't it? Contains: The string contains 35 alphabetic characters and 10 words. 2) (I need only flowchart please no coding) Write a program in C where you would perform the following tasks: (Ctrl) - a. Write a main() function where you will declare an unsigned integer a. You can assign any value you like. (e.g. a = 4) b. Make a call to function factorial(...). You will pass the unsigned integer you defined earlier as an argument to the function call. c. You will define a function called factorial(...) that takes in an unsigned integer parameter. This function should have an unsigned integer return type. d. Do not use a standard C function that calculates factorial. Instead write your own for loop that calculates the result. e. Print a statement in a similar format from main() as shown below. For example, if the number passed into the function is 4, you program should print the following: 4 factorial is 24

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

Database Concepts

Authors: David M Kroenke, David J Auer

6th Edition

0132742926, 978-0132742924

More Books

Students also viewed these Databases questions

Question

Explain the service recovery paradox.

Answered: 1 week ago