Write a function which accepts list of nouns as input
parameter and return the same list in the plural form.
Conditions: i) if last letter is r then append s
ii) if word ends with y then replace it by ies
iii) call this function in main() and produce the
required output.
for eg:- if chair is input it should give chairs as output.
No Answer is Posted For this Question
Be the First to Post Answer
Automatically Hyperlink URLs and E-Mail Addresses in ASP.NET Pages with C#
Write a function which accepts list of nouns as input parameter and return the same list in the plural form. Conditions: i) if last letter is r then append s ii) if word ends with y then replace it by ies iii) call this function in main() and produce the required output. for eg:- if chair is input it should give chairs as output.
program for string reverse(eg:- i am boy -> boy am i)
8 Answers Black Pepper, Infosys, Mind Tree,
Code for Searching for Multiple Matches with the MatchCollection Class?
How to pass multiple rows from one gridview to another gridview after clicking the checkbox.
Code for Reading and writing from a file in c#?
Coding for using Nullable Types in C#?
Give the code for Handling Mouse Events?
Write a program to count the number of characters, number of words, number of line in file.
Write a function which accepts a sentence as input parameter.Each word in that sentence is to be reversed. Space should be there between each words.Return the sentence with reversed words to main function and produce the required output. for eg:- i/p: jack jill jung kill o/p: kcaj llij gnuj llik
working with arrays
Write a program to count 3Letter, 4Letter and 5Letter words from a file and print the number of 3Letter, 4Letter and 5Letter words. Delimiter is space, tab, hifen. Also we should not consider the line in the file after we encounter # in that line.