title: How do I get my program to fetch the value assigned to the number inputed by the user?
body: <p>Currently making a program that converts integers to Roman Numerals. I don't have much written for my code because I am trying to brainstorm how I can do this before writing much:</p>
  
  <pre><code>import java.util.Scanner;
  public class MyClass 
  {
      public static void main(String args[]) 
      {
  
  
          Scanner n = new Scanner(System.in);
          System.out.println("Please enter an integer and I will convert it to 
          a Roman Numeral:");
          int rn = n.nextInt();
  </code></pre>
  
  <p>That is all I have right now.</p>
  
  <p>The main question is; how would I assign a certain number to a roman numeral and then output the Roman Numeral that matches the int?</p>
  
  <p>An answer would be appreciated but please do not give me the completed code because I am still a beginner and would like to learn without delays. Thank you!</p>