Question: Hello can I get help writing the following java code as instructed? Please post what should be inputted in the text box below, thank you.
Hello can I get help writing the following java code as instructed? Please post what should be inputted in the text box below, thank you.


= zyBooks My library > COP2210-2250: Programming I home > 7.3: LAB: Count characters E zyBooks catalog ? Help/FAQ 7.3 LAB: Count characters Write a program whose input is a character and a string, and whose output indicates the number of times the character appears in the string. The output should include the input character and use the plural form, n's, if the number of times the characters appears is not exactly 1. Ex: If the input is: n Monday the output is: 1 n Ex: If the input is: z Today is Monday the output is O z's Ex: If the input is: n It's a sunny day the output is: 2 n's Case matters. Ex: If the input is: n Nobody the output is: On's n is different than N. 357658.2383008.qx3zqy7 = zyBooks My library > COP2210-2250: Programming I home > 7.3: LAB: Count characters 6 zyBooks catalog ? Help/FAQ LAB ACTIVITY 7.3.1: LAB: Count characters 0 / 10 LabProgram.java Load default template... Vous WNP. 1 import java.util.Scanner; 2 3 public class LabProgram { public static void main(String[] args) { /* Type your code here. */ } 7 4 5 6 8 Develop mode Submit mode Run your program as often as you'd like, before submitting for grading. Below, type any needed input values in the first box, then click Run program and observe the program's output in the second box
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
