30 likes | 52 Views
FOR MORE CLASSES VISIT<br>tutorialoutlet<br><br><br>Write a complete Java program called CharCounter that gets two Strings called inputWord and inputCharacter from the user at the command line. Check that the character has a length of 1.<br>• If it doesn't, provide the user with suitable feedback and conclude the program.<br>• If the character length is valid (i.e., it has a length of 1), use a while loop to check each position in the inputWord variable and return the number of times the character occurs.
E N D
IST 431 Assignment/tutorialoutletdotcom For more course tutorials visit tutorialoutletdotcom
IST 431 Assignment Write a complete Java program called CharCounter that gets two Strings called inputWord and inputCharacter from the user at the command. • FOR MORE CLASSES VISIT • Tutorialoutlet • Write a complete Java program called CharCounter that gets two Strings called inputWord and inputCharacter from the user at the command line. Check that the character has a length of 1. • If it doesn't, provide the user with suitable feedback and conclude the program.