Question: solve CHALLENGE ACTIVITY 3.24.1: For loops and strings. 703234 5259138.qx327 Jump to level 1 String fruitName is read from input. Use a for loop that
solve
CHALLENGE ACTIVITY 3.24.1: For loops and strings. 703234 5259138.qx327 Jump to level 1 String fruitName is read from input. Use a for loop that iterates index i from 0 to fruitName.length() - 1 to output the characters of fruitName, separated by plus signs ('+"). Ex: If the input is grape, then the output is: gtreatpte import java. util. Scanner; public class OutputElements { public static void main(String args) { Scanner scor = new Scanner(System. in); String fruitName; int i; fruitName = scor. next(); 10 11 V* your code goes here */ 12 13 14 } 1 2 3 Check Next level Feedback? How was this section? Provide section feedbackStep by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
