title: How to create a Java Program that accepts user inputs?
body: <p>I'm solving multiple exercises online and I cant answer this one. The task is to create a program that accepts an input with format of TITLE-CHARACTER-YEAR and prints out the character's name and the manga's year category as indicated below</p>
  
  <pre><code>year less than 2000 and print "90s"
  2000 less than or equal to year but less than 2006 and print "early 2000s"
  2006 less than or equal to year and print "latest"
  </code></pre>
  
  <p>I tried coding it but I'm lacking of logical thinking on how can I run it right. Tried searching <em>syntaxes</em> but failed.</p>
  
  <pre><code>public class HelloWorld {
  
      public static void main(String[] args) {
          String title1 = "Yuyu Hakusho";
          String title2 = "Bleach-Ichigo";
          String title3 = "Bakuman";
          String name1 = "Eugene";
          String name2 = "Ichigo Kurosaki";
          String name3 = "Moritaka Mashiro";
          int year1 = 1994;
          int year2 = 2004;
          int year3 = 2008;
  
  
          if (year1 &lt; 2000);
          System.out.println(name1 + " 90s");    
      }
  }
  </code></pre>