# Yahoo Web Search

related to Does 1 to 100

1. Sort by

1. ### How do you find the primes from 1 to 100 using loops in C#?

...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. ### Write a program that for the integers from 1 to 100, inclusive:?

... 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. ### Autocad question - turning 1:250 into 1:100?

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. ### Simple Java Program to print 1 to 100?

...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. ### The following code would not print a table of squares of the integers from 1 to 100.?

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 · 02/03/2010

6. ### how do you write 5 small programs that counts from 1 to 100 , excluding numbers 10,20,30,40,50,60,70,80, & 90?

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. ### Visual Basic.NET : How to give a random value between 1 and 100 to a variable?

...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. ### Programing Exercise: Visual Basic 2008 - Do Loops?

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. ### I need an aswer to a C++ coding question?

...) ); 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 · 19/12/2007

10. ### calculate the sum of integers from 1 to 100?

!/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