• Post Reply Bookmark Topic Watch Topic
  • New Topic

Core java  RSS feed

 
sukumar chintala
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
by the keyword you are given input after that when i given -1 it has to stop process and then what ever i given before i need the details which topic is it
 
Vassili Vladimir
Ranch Hand
Posts: 1585
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
?!
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This question makes absolutely no sense.
Please take the time to explain, exactly what it is you're asking.

I'm going to assume, based on the subject line, that this has more to do with core Java (not JSP) and move it to our Java In General (Beginner) forum.
If your question turns out to be JSP related, someone can always move it back.
 
Henry Wong
author
Sheriff
Posts: 23295
125
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
by the keyword you are given input after that when i given -1 it has to stop process and then what ever i given before i need the details which topic is it


I am going to try to decrypt this mess...

by the keyword you are given input ... I think "keyboard" was probably intended -- meaning write a program that takes user input.

after that when i given -1 it has to stop process ... I think this means that the previous snippet meant to loop and gather input from the user until the user enter "-1" to signal the end of input.

and then what ever i given before i need the details ... The program needs to give a summary of the information that was entered. Meaning, if the user entered nothing but numbers, some details could be the mean, median, max, min, etc. This is actually a standard homework problem.

which topic is it ... I think the original poster is looking for a package that does this already.


Anyway, if I deciphered it correctly.... I am pretty sure that you are supposed to stay in the packages that you learned in class. There is no package that will do exactly what you need here. And if there is, it probably won't be allowed by your professor anyway.

Henry
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!