Computer Science, asked by Ramameharia, 1 year ago

write a program in Java to input any line and print first character of each word​

Answers

Answered by ayeshashakil07
0

Answer:

Scanner function is used to take input in this program.

charAt(); this function i use to hold the character.

length(); this function is use to count the length of the string.

Attachments:
Similar questions