0

Average world length program i am getting 2/5 cases wrong

https://code.sololearn.com/cGXQRKL6eW0V/?ref=app This is new link

10th May 2020, 5:21 AM
Chetan Singh
Chetan Singh - avatar
10 Answers
+ 2
Pls show us your code so that we can fix it
10th May 2020, 6:19 AM
ヽ(^。^)ノ✨ヽ(^。^)ノ
ヽ(^。^)ノ✨ヽ(^。^)ノ - avatar
+ 1
Did you remove all punctuation from the input string? Did make sure to round up?
10th May 2020, 5:26 AM
ChaoticDawg
ChaoticDawg - avatar
+ 1
Period, comma, secolon, colon,... these are also punctuations... I think there are more punctuation marks... Better to find other approache... Edit: Chetan Singh https://grammar.yourdictionary.com/punctuation/what/fourteen-punctuation-marks.html
10th May 2020, 4:15 PM
Jayakrishna 🇮🇳
+ 1
Can you Update code..? Instead round, try System.out.println((int) Math.ceil (w/m)) ;
10th May 2020, 4:26 PM
Jayakrishna 🇮🇳
0
Can you add code ?. What you tried till now?
10th May 2020, 5:53 AM
P∆WAN M∆URY∆
P∆WAN M∆URY∆ - avatar
0
Ok thanks
10th May 2020, 4:16 PM
Chetan Singh
Chetan Singh - avatar
0
Not working ☹️ bro
10th May 2020, 4:22 PM
Chetan Singh
Chetan Singh - avatar
0
Replace like this All("[^a-zA-Z\\s]","");
10th May 2020, 4:25 PM
P∆WAN M∆URY∆
P∆WAN M∆URY∆ - avatar
0
Ok
10th May 2020, 4:26 PM
Chetan Singh
Chetan Singh - avatar
0
Yes it's working
10th May 2020, 4:30 PM
Chetan Singh
Chetan Singh - avatar