Arama butonu
Bu konudaki kullanıcılar: 1 misafir
9
Cevap
748
Tıklama
0
Öne Çıkarma
Java da ödevim
L
14 yıl (28 mesaj)
Onbaşı
Konu Sahibi

Create a new project , and in it write a program that counts the number of each word in a sentence given by the user. The following is an example interaction with the program:



Please enter a sentence: she likes cats and she likes dogs but he likes neither cats nor dogs



Number of “she”: 2

Number of “likes”: 3

Number of “cats”: 2

Number of “and”: 1

Number of “dogs”: 2

Number of “but”: 1

Number of “he”: 1

Number of “neither”: 1

Number of “nor”: 1


arkadaşlar hoca odev vermişte soru biraz teknik mi oldu bilmiyorum yukarıdaki programı yazmada takıldım, eger java bilen arkadaşlar varsa şöle kısaca porgramın algoritmasından ve gerekli methodlardan bahsedebilir mi?