Computer Science, asked by mahibahkh1, 4 months ago

Write a class with the function word() to input a sentence and display the following.
1.Count number of times "in" occurs in the string.
2.Ascii code of each character in the string.
3.reverse the string​

Answers

Answered by Anonymous
8

Answer:

given a string, count number of words in it. The words are separated by following characters: space (' ') or new ... Scan all characters one by one ... class GFG.

Explanation:

plz follow me....yrr

Similar questions