1.

Write a function for this requirement. Consider a list of person names and their age. Note there is no particular order and pattern and names are in mixedformat - ie, both upper and lower case mixed up. eg. YasIR - 19. Mangal SarVesh- 22, SmuttLES Zack - 42, Vicky Bhagat - 61, etc. Write a function group Persons()which will work on this list and makes the names to Title case ie, only the firstletter is capitalized and group them into 4 groups based on age - Group1 : Lessthan 20; Group2 : 20 - 30; Group 3:30 - 50; Group 4: Above 50. Do not useprint or output statements. eg. printf, print, cout, System.out.println, etc.​

Answer» OK CHECK ♥️g SAAL


Discussion

No Comment Found