1.

write a java program to input a string and check if the first character and the last character of the string are in upper case or not​

Answer»

EXPLANATION:

writing only the main

then check C if c=1 then characters are in UPPER CASE else they are not in upper case

hope it helps



Discussion

No Comment Found