Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

hi everyone, i have a question

 
alhaji conteh
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Write a java application that finds the smallest of several integers. Prompt the user for the number of integers that will be input, then prompt the user for that number of integers. Evaluate the integers to determine the smallest value. Run the program to test for 3 numbers -- 50, 10, 100 Run the program a second time to test for 5 input number; -- 7, -2, 0, 15, 5 Submit your .java, .class and results. The results may be copied and pasted at the bottom of the .java file OR placed in a word document.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64824
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Likes 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What's the question?
 
Campbell Ritchie
Sheriff
Posts: 48910
58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And welcome to the Ranch

Is this an assessment?
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15272
37
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch, alhaji conteh.

Here on JavaRanch, we're happy to help you learn and solve your Java problems, but we are not going to do your homework for you - you'll have to do that yourself. Homework is for you to learn - if you let somebody else do it, you're not going to learn anything. Please show some effort - what did you try, what didn't work, where do you get stuck? Don't just post the text of your homework assignment here, without even asking a question.
 
Winston Gutkowski
Bartender
Pie
Posts: 10417
63
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
alhaji conteh wrote:The results may be copied and pasted at the bottom of the .java file...

Hunh? That should produce some interesting results...

Winston
 
Wendy Gibbons
Bartender
Posts: 1111
Eclipse IDE Oracle VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Winston Gutkowski wrote:
alhaji conteh wrote:The results may be copied and pasted at the bottom of the .java file...

Hunh? That should produce some interesting results...

Winston


i guess that is just for when printing out to hand in to the teacher.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic