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
No description
No description
3 Replies
JavaBot
JavaBot2mo ago
This post has been reserved for your question.
Hey @hanti! Please use /close or the Close 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.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here. 💤 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.
rainymc_
rainymc_2mo ago
hi
JavaBot
JavaBot2mo ago
💤 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.

Did you find this page helpful?