Question: Question No. 2 [10 Marks] Write a C program which should take an organization's name from the user as a string. You have to

Question No. 2 [10 Marks] Write a C program which should take

Question No. 2 [10 Marks] Write a C program which should take an organization's name from the user as a string. You have to implement the following function on that string: 1. find Length(): It will be a user defined function and will return the length of the input string's length. 2. findAbbrevation(): It will be a user defined function and will find the abbreviation of the organization's 3. printAbbrevation(): This function will print the abbreviation on the screen. Note: Your Output should be in following format, otherwise you'll lose marks: name. Enter Name of The Organization: Pakistan State oil Total Characters in The String are 18. Abbreviation of 'Pakistan State oil' is PSO

Step by Step Solution

3.47 Rating (150 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

include include include int findLengthchar char findAbbrevationchar int void printAbb... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!