Please help me. "The program runs correctly but it has not pass testing"

package com.javarush.test.level04.lesson10.task03;

import java.io.*;

public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader (new InputStreamReader(System.in)); String s = reader.readLine(); String n = reader.readLine(); int N = Integer.parseInt(n);

    while (N>0)
    {
        System.out.println(s);
        N--;
    }
}

}

WHAT DOES HE WANT FROM ME???

asked 14 Jun '18, 06:52

VanDammeStyle's gravatar image

VanDammeStyle
1
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](http://url.com/ "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

Tags:

×79
×36
×7

Asked: 14 Jun '18, 06:52

Seen: 154 times

Last updated: 14 Jun '18, 06:52