emotional damage
Suman Magar   Gesves, Namur, Belgium
 
 
import java.util.Scanner; // I use scanner because it's command line.<br /><br />public class Login \{<br />public void run() \{<br /> Scanner scan = new Scanner (new File(&quot;the\\\\dir\\\\myFile.extension&quot;));<br /> Scanner keyboard = new Scanner (System.in);<br /> String user = scan.nextLine();<br /> String pass = scan.nextLine(); // looks at selected file in scan<br /><br /> String inpUser = keyboard.nextLine();<br /> String inpPass = keyboard.nextLine(); // gets input from user<br /><br /> if (inpUser.equals(user) &amp;&amp; inpPass.equals(pass)) \{<br /> System.out.print(&quot;your login message&quot;);<br /> \} else \{<br /> System.out.print(&quot;your error message&quot;);<br /> \}<br />\}<br />\}
Offline
Komentarze
potato chips 17 sierpnia 2017 o 10:38 
legit noob :P xD
emotional damage 15 lipca 2017 o 21:53 
♥♥♥♥ you ♥♥♥♥♥
Rahul Shrestha 15 lipca 2017 o 4:46 
Hacker noob rage hacks when he starts to lose. report him and make community clean.