Pig Latin Project Java
Hi, I've been working on my piglatin project but there seems to be an error with one of the conditions. I'm a beginner coder so I'm not really sure where I went wrong. I have a PigLatin and PigLatinRunner classes, the runner calls a translate method in PigLatin. Along with my translate method, I have boolean methods that check for punctuation. However, my output has a problem with counting punctuation. For example in a word string of money!" it only counts the quote on the right, but disregards the exclamation mark or rather counts it as a part of the string. Should I add another variable or if statement to check if there are multiple punctuations? Also my capitalization doesn't work for some reason either. I can also hop on a vc and share my screen if that's easier. /help ping
3 Replies
⌛
This post has been reserved for your question.
Hey @hanti! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose Post
button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.
💤
Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping
.
Warning: abusing this will result in moderative actions taken against you.
hi
💤
Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping
.
Warning: abusing this will result in moderative actions taken against you.