Click here to Skip to main content
14,241,216 members
   

Java

 
AnswerRe: java Pin
Richard MacCutchan11-Nov-18 2:31
protectorRichard MacCutchan11-Nov-18 2:31 
QuestionScala Code Review Pin
traubad10-Nov-18 12:46
membertraubad10-Nov-18 12:46 
AnswerRe: Scala Code Review Pin
Richard MacCutchan10-Nov-18 21:07
protectorRichard MacCutchan10-Nov-18 21:07 
Questionduplicate elmente in Array multiply Pin
Nasif228-Nov-18 13:08
memberNasif228-Nov-18 13:08 
Questionjava Pin
Member 140430484-Nov-18 23:51
memberMember 140430484-Nov-18 23:51 
AnswerRe: java Pin
Richard MacCutchan5-Nov-18 5:17
protectorRichard MacCutchan5-Nov-18 5:17 
AnswerRe: java Pin
mohit gite16-Nov-18 21:25
membermohit gite16-Nov-18 21:25 
AnswerRe: java Pin
GiteHrudaya28-Nov-18 18:48
memberGiteHrudaya28-Nov-18 18:48 
import java.io.*;
import java.util.*;
import java.text.*;
import java.math.*;
import java.util.regex.*;

public class Solution {

public static void main(String[] args) {
int i = 4;
double d = 4.0;
String s = "HackerRank ";

Scanner scan = new Scanner(System.in);
int i1;
double d1;
String s1;

i1 = scan.nextInt();
d1 = scan.nextDouble();
s1 = scan.nextLine();
s1 = scan.nextLine();

System.out.println(i+i1);
System.out.println(d+d1);
System.out.println(s+s1);
scan.close();
}
}

AnswerRe: java Pin
GiteHrudaya2-Dec-18 22:59
memberGiteHrudaya2-Dec-18 22:59 
Questionjava Pin
mohit gite4-Nov-18 21:45
membermohit gite4-Nov-18 21:45 
AnswerRe: java Pin
Richard MacCutchan4-Nov-18 23:05
protectorRichard MacCutchan4-Nov-18 23:05 
AnswerRe: java Pin
GiteHrudaya29-Nov-18 23:13
memberGiteHrudaya29-Nov-18 23:13 
Questionjava Pin
Member 140430483-Nov-18 21:03
memberMember 140430483-Nov-18 21:03 
AnswerRe: java Pin
Richard MacCutchan3-Nov-18 21:25
protectorRichard MacCutchan3-Nov-18 21:25 
GeneralRe: java Pin
Member 140430483-Nov-18 21:38
memberMember 140430483-Nov-18 21:38 
GeneralRe: java Pin
Richard MacCutchan3-Nov-18 22:17
protectorRichard MacCutchan3-Nov-18 22:17 
GeneralRe: java Pin
Member 140430483-Nov-18 22:25
memberMember 140430483-Nov-18 22:25 
GeneralRe: java Pin
Richard MacCutchan3-Nov-18 22:32
protectorRichard MacCutchan3-Nov-18 22:32 
GeneralRe: java Pin
Member 140430483-Nov-18 23:02
memberMember 140430483-Nov-18 23:02 
GeneralRe: java Pin
Richard MacCutchan4-Nov-18 1:15
protectorRichard MacCutchan4-Nov-18 1:15 
Questionjava Pin
mohit gite2-Nov-18 20:58
membermohit gite2-Nov-18 20:58 
AnswerRe: java Pin
Richard MacCutchan2-Nov-18 23:06
protectorRichard MacCutchan2-Nov-18 23:06 
GeneralRe: java Pin
mohit gite4-Nov-18 20:28
membermohit gite4-Nov-18 20:28 
Questionjava Pin
Member 1402833822-Oct-18 4:12
memberMember 1402833822-Oct-18 4:12 
AnswerRe: java Pin
Richard MacCutchan22-Oct-18 5:55
protectorRichard MacCutchan22-Oct-18 5:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.