package com.codegym.task.task03.task0322;
/*
Deep and pure love
*/
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String name1= reader.readLine();
String name2= reader.readLine();
String name3= reader.readLine();
System.out.println(name1+ " + "+name2+ " + "+name3+" "+ " = Pure love. Ooo la-la!");
}
}
When I run the code the communicat is shown:
null + null + null = Pure love. Ooo la-la!
But the task is completed with success...
null problem?
Under discussion
Comments (3)
- Popular
- New
- Old
You must be signed in to leave a comment
Ralu X
24 January 2019, 16:11
When you just Run a program that requires you to read data, you must provide said data before running it.
0
Guadalupe Gagnon
22 January 2019, 14:47useful
You need to download and use intelliJ. CodeGym's online IDE isn't made to work with code past the first couple of levels.
+1
0lsen11
24 January 2019, 13:40
thanks for help!
+1