7.1 Lab 12: Strings on Repeat
Introduction
In this assignment we work with for loops and Strings, including
one nested loop.
Specifications
Ex: Output with the input: hello !
world e 5
TEMPLATE TO USE:
import java.util.Scanner;
public class StringRepeat {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
String statement;
char ch;
int num;
/* Type your code here. */
}
}
7.1 Lab 12: Strings on Repeat Introduction In this assignment we work with for loops and Strings, including one nested l
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am