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](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2022/12/638cb14f12b90_814638cb14ed395f.jpg)
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
include include include int findLengthchar char findAbbrevationchar int void printAbb... View full answer
Get step-by-step solutions from verified subject matter experts
