Question: In java please 11.11 LAB: Append exclamation (branches, strings) Given an input sentence, output the sentence with an extra t if the last character wasn't

In java please
11.11 LAB: Append exclamation (branches, strings) Given an input sentence, output the sentence with an extra t if the last character wasn't a period or i If the input is Who are you?, the output is Who are you?! LAB ACTIVITY 1111.1: LAB Append exclamation (branches, strings) 0/10 Files provided by your instructor Exclamation.java Download Exclamation.java Load default template. import java.util.Scanner 3 public class Exclamation f 4public static void main(stringl args) f Scanner senr new Scanner (System in) 4 public static Type your cede e
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
