Question: CHALLENGE2.5.1: Reading and printing a string ACTIVITY A user types a word and a number on a single line. Read them into the provided variables.
CHALLENGE2.5.1: Reading and printing a string ACTIVITY A user types a word and a number on a single line. Read them into the provided variables. Then print word number End with newline. Example output if user entered Amy 5 Amy 5 1 import java.util.Scanner 3 public class SpaceReplace R asternerstes. int userNum Your solution goes here / 10 12 Run View your last
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
