You are viewing a single comment's thread. Return to all comments →
/* Solucion en Java 15 /
public static void main(String[] args) { int i = 4; double d = 4.0; String s = "HackerRank ";
Scanner sc = new Scanner(System.in); int cz = sc.nextInt(); double bz = sc.nextDouble(); String si = sc.next(); String sb = sc.nextLine(); String result = s + si + sb; System.out.println(i + cz); System.out.println(d + bz); System.out.println(result); sc.close(); }
Seems like cookies are disabled on this browser, please enable them to open this website
Day 1: Data Types
You are viewing a single comment's thread. Return to all comments →
/* Solucion en Java 15 /
public static void main(String[] args) { int i = 4; double d = 4.0; String s = "HackerRank ";