// Name : Matthew Reeves // This is a program to convert characters to 13375p34k import java.util.Scanner; public class mdreeves_LeetLoop { public static void main ( String args[] ) { Scanner i= new Scanner ( System.in ); char test; int runs; runs=0; do { System.out.print ("Please enter the number of characters you want to convert: "); runs=i.nextInt(); } while (runs<1); for (int count=1;count<=runs;count++) { System.out.print ("Enter a character to convert: "); test=i.next().charAt(0); switch (test) { case 'A': case 'a': System.out.print (test + " 4\n"); break; case 'B': case 'b': System.out.print (test + " I3\n"); break; case 'C': case 'c': System.out.print (test + " [\n"); break; case 'D': case 'd': System.out.print (test + " )\n"); break; case 'E': case 'e': System.out.print (test + " 3\n"); break; case 'F': case 'f': System.out.print (test + " |=\n"); break; case 'G': case 'g': System.out.print (test + " &\n"); break; case 'H': case 'h': System.out.print (test + " #\n"); break; case 'I': case 'i': System.out.print (test + " 1\n"); break; case 'J': case 'j': System.out.print (test + " J\n"); break; case 'K': case 'k': System.out.print (test + " >|\n"); break; case 'L': case 'l': System.out.print (test + " 1\n"); break; case 'M': case 'm': System.out.print (test + " /\\/\\\n"); break; case 'N': case 'n': System.out.print (test + " ^/\n"); break; case 'O': case 'o': System.out.print (test + " 0\n"); break; case 'P': case 'p': System.out.print (test + " |*\n"); break; case 'Q': case 'q': System.out.print (test + " Q\n"); break; case 'R': case 'r': System.out.print (test + " I2\n"); break; case 'S': case 's': System.out.print (test + " 5\n"); break; case 'T': case 't': System.out.print (test + " 7\n"); break; case 'U': case 'u': System.out.print (test + " (_)\n"); break; case 'V': case 'v': System.out.print (test + " \\/\n"); break; case 'W': case 'w': System.out.print (test + " \\/\\/\n"); break; case 'X': case 'x': System.out.print (test + " ><\n"); break; case 'Y': case 'y': System.out.print (test + " Y\n"); break; case 'Z': case 'z': System.out.print (test + " 2\n"); break; default: System.out.print (test + " -\n"); } } } }