Meaningless Drivel is fun!*
The moose likes Beginning Java and the fly likes hi everyone, i have a question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "hi everyone, i have a question" Watch "hi everyone, i have a question" New topic
Author

hi everyone, i have a question

alhaji conteh
Greenhorn

Joined: Oct 21, 2012
Posts: 1
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

Joined: Jan 10, 2002
Posts: 60782
    
  65

What's the question?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38007
    
  22
And welcome to the Ranch

Is this an assessment?
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14074
    
  16

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.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Winston Gutkowski
Bartender

Joined: Mar 17, 2011
Posts: 7545
    
  18

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


Isn't it funny how there's always time and money enough to do it WRONG?
Articles by Winston can be found here
Wendy Gibbons
Bartender

Joined: Oct 21, 2008
Posts: 1107

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: hi everyone, i have a question
 
Similar Threads
write a java program to determine the smallest and largest of two numbers
Ready to give up!
printing a value after a sentinel
Sooo Close (Arrays & exit loop w/ 0 )
to read intgers into program