Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
- */
- package findmyshow;
- import java.util.Scanner;
- /**
- *
- * @author 9521
- */
- public class Findmyshow {
- /**
- * @param args the command line arguments
- */
- public static void main(String[] args) {
- int length;
- Scanner a = new Scanner(System.in);
- System.out.println("enter the amount of shows");
- length = a.nextInt();
- String[] tvshow = new String[length];
- for (int i = 0; i < length; i++) {
- System.out.println("enter the tv shows name");
- tvshow[i] = a.next();
- }
- System.out.println("your listed anime shows are");
- for (int i = 0; i < length; i++) {
- System.out.println(i + "." + tvshow[i]);
- findmyshow();
- }
- }
- private static void findmyshow() {
- for (int i = 0; i < tvshow[i].length; i++) {
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement