Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
Step: 1
include include include int findLengthchar char findAbbrevationchar int void printAbb...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started