SHARE
TWEET

Untitled

a guest Feb 14th, 2020 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2.  * To change this license header, choose License Headers in Project Properties.
  3.  * To change this template file, choose Tools | Templates
  4.  * and open the template in the editor.
  5.  */
  6. package findmyshow;
  7.  
  8. import java.util.Scanner;
  9.  
  10. /**
  11.  *
  12.  * @author 9521
  13.  */
  14. public class Findmyshow {
  15.  
  16.     /**
  17.      * @param args the command line arguments
  18.      */
  19.     public static void main(String[] args) {
  20.           int length;
  21.         Scanner a = new Scanner(System.in);
  22.         System.out.println("enter the amount of shows");
  23.         length = a.nextInt();
  24.  
  25.         String[] tvshow = new String[length];
  26.  
  27.         for (int i = 0; i < length; i++) {
  28.             System.out.println("enter the tv shows name");
  29.             tvshow[i] = a.next();
  30.         }
  31.         System.out.println("your listed anime shows are");
  32.         for (int i = 0; i < length; i++) {
  33.             System.out.println(i + "." + tvshow[i]);
  34.             findmyshow();
  35.         }
  36.     }
  37.  
  38.     private static void findmyshow() {
  39.         for (int i = 0; i < tvshow[i].length; i++) {
  40.            
  41.         }
  42.        
  43.     }
  44.    
  45. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top