Yahoo Web Search

  1. ...iterate to i/2 as it is impossible for any number to be divisible by a number more than half of it. ... that since you are only looking for 1 - 100 , this is fast enough... you should get the results...

    4 Answers · Computers & Internet · 24/05/2007

  2. ... language you are using. - What you want to do with the integers from 1 to 100 inclusive. If you need to ask another question like this, please include as much information...

    2 Answers · Computers & Internet · 08/10/2009

  3. Use command SCALE with factor=2.5 Example. if you want resize all objects Command: SCALE (return) Select objects: ALL (return) or select by Window your objects Base point: 0,0,0 (return...

    2 Answers · Computers & Internet · 08/03/2011

  4. ...min+((max-min)/2); output(min,mid); output(mid+ 1 ,max); } Of course, you should only hand...as homework if you're willing to explain to your teacher why you ...iteration. Otherwise...well, why not do your own homework for a change? ...

    2 Answers · Computers & Internet · 02/07/2011

  5. Assuming that i is defined outside the scope of the for loop, it would display 100 and the square of 100 . The loop doesn't contain any code, it's just a loop that does nothing (other than increase the value of i).

    3 Answers · Computers & Internet · 01/03/2010

  6. hint - count=0 for i= 1 to 100 { if (condition is true) { if(i%10!=0) count++; } }

    1 Answers · Computers & Internet · 06/11/2011

  7. ...function to extract random numbers. To get random numbers from 1 to 100 inclusive you need something like the following: Dim rnd as Random...

    2 Answers · Computers & Internet · 25/08/2010

  8. Does it really have to be a do -while loop? Dim num As Integer = 1 Do While num <= 100 If Math.Floor(Math.Sqrt(num)) = Math...

    2 Answers · Computers & Internet · 29/03/2009

  9. ...) ); for (i = 0; i < 100 ; i++) { arr[i] = rand() * 1000 + 1 ; } Notice 2nd line... rand() function...every time the program is executed.. To be able to give a better randomized...

    2 Answers · Computers & Internet · 18/12/2007

  10. !/bin/bash echo "This script will add all integers from 1 to 100 " RESULT = 0 for (( c= 1 ; c<= 100 ; c++ )) do $RESULT = $RESULT + c done echo "The result...

    4 Answers · Computers & Internet · 17/07/2012

  1. Try asking your question on Yahoo Answers