Ask Experts Questions for FREE Help !
Ask
    just_mohammad's Avatar
    just_mohammad Posts: 4, Reputation: 1
    New Member
     
    #1

    Jan 31, 2012, 11:29 AM
    What will be the output of the above loop?
    Int num =50;
    While (num >0)
    {
    System.out.println(“Count is “ num);
    Num -=10;

    }

Check out some similar questions!

To get higher wattage output in a lower output fixture. [ 1 Answers ]

We purchased a Harbor Breeze fan with light fixture, but did not see that the wattage output was only going to be 40 watts. We need more lighting in our room. We have tried bigger watt bulbs but the fixture starts to blink and then goes dim(back to the 40 watt output). How can we change that?

For loop [ 1 Answers ]

How would I design a For loop that displays the following set of 10, 20, 30, 40, 50,. 1,000?

2dp output restriction, and loop calculation required, with form. [ 5 Answers ]

Hello everyone. I have a form that I have developed and am stuck. The outputs that are displayed should be in 2 decimal places. I have searched for ways to do this, but to no avail have they worked for my piece of code. Please have a look and if you could, suggest a way of making this output...


View more questions Search
 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.