Attempt any two programs out of three
1. write a menu driven program which accepts (*,/,+,-) and does mathematical operation on the operands entered by the user[use switch case] [15]

2. Write a program to accept the full name of a person and print his initials followed by his surname
e.g. input: Mohandas Karamchand Gandhi
output: M.K.Gandhi [15]

3. Write a program to accept a sentence and print the largest word from it
e.g. input SNV international school
output: international [15]

LEAVE A REPLY

Please enter your comment!
Please enter your name here