IOStuff

package IOStuff; import java.util.Scanner; public class IO { Scanner sc = new Scanner(System.in); public String io(){ String s = sc.next(); return s; } public void p(String s) { int sint = Integer.parseInt(s); sint = sint/273;//converts to kelvin System.out.println(sint); } }

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.