Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: BERTO PEREZ   on Nov 13 In Java Category.

  
Question Answered By: Adah Miller   on Nov 13

You said that you have problem with this code, but you didn't mentioned what is the problem, well looking at your code i find one problem, may be if that can help you.

Wrong Loop


for(d = MAX; d <= MIN; d++)


Right approach would be

for(d = MIN; d <= MAX; d++)


Hope this helps

Share: 

 

This Question has 1 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on problem with my code Or get search suggestion and latest updates.


Tagged: