public class Solution { public static void main(String[] args) throws Exception {

BufferedReader reader = new BufferedReader(new InputStreamReader(;

    String name = reader.readLine();
    String sAge = reader.readLine();

System.out.print(name+" will conquer the world in "+sAge+" years. Bwahaha!.");



output: Andrew will conquer the world in 9 years. Bwahaha!.

What is the problem?

asked 24 Aug '17, 08:30

endrju69's gravatar image

accept rate: 0%

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 24 Aug '17, 08:30

Seen: 828 times

Last updated: 24 Aug '17, 08:30