Skip to content

Instantly share code, notes, and snippets.

View Ronaksharma57's full-sized avatar
💭
Always Here to help You.

RONAK SHARMA Ronaksharma57

💭
Always Here to help You.
View GitHub Profile
//In this challenge, you must read an integer, a double, and a String from stdin, then print the values according to the instructions in the Output Format section below. To make the problem a little easier, a portion of the code is provided for you in the editor.
import java.util.Scanner;
public class Solution {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int i = scan.nextInt();
double d = scan.nextDouble();
@Ronaksharma57
Ronaksharma57 / Java Stdin and Stdout I
Created July 21, 2022 04:45
hacker rank questions java
import java.util.*;
public class Solution {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int a = scan.nextInt();
int b=scan.nextInt();
int c=scan.nextInt();