Yahoo Web Search

  1. ...c=0,i,j,n; for(j= 1 ;j<= 100 ;j++) { scanf("%d",&j); for(i= 1 ;i<=j;i++) { a=n%i...quot;%d \t"); } } The prime numbers will be printed with a tab space.

    3 Answers · Computers & Internet · 17/11/2006

  2. ...prime "; getch(); } you can take the hint from above program to print prime no.s from 1 to 100 .

    8 Answers · Computers & Internet · 09/07/2010

  3. ...here goes your code: //comment to make you more clear.. limit = 100 ; // arbitrary search limit for (i = 2; i..._prime[i] = true // assume all numbers are prime at first } for (n...

    1 Answers · Computers & Internet · 22/01/2007

  4. ...;< "Would you like to play again? y or n: "; cin >> answer...; endl; } while (num >= 1 && num <= 100 && answer == 'y'); system("PAUSE...

    3 Answers · Computers & Internet · 24/10/2011

  5. ...;iostream.h> #include<conio.h> void main() { int i; for(i= 1 ;i<= 100 ;i++) { if(i%2==0) { cout<<i<&...

    4 Answers · Computers & Internet · 06/11/2012

  6. ...int main(void) { ....const int n1 = 1 ; ....const int n2 = 100 ; ....int sum = 0; ....int i...sum += i; // add it to sum ........} ....} ....cout <...quot;The sum of even numbers from " <&...

    4 Answers · Computers & Internet · 06/12/2009

  7. ...main(String arg[]) { int s=0; System.out.print("Even Numbers are"); for(int i= 1 ;i<= 100 ;i++) { if(i%2==0) { System.out.println(i); } } System.out.println...

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

  8. ... namespace std; int main() { int i; for(i= 1 ;i<= 100 ;i++) { cout << i...use\n or endline if you want the next number to be on the next line } system("PAUSE"...

    4 Answers · Computers & Internet · 14/04/2011

  9. ... a For..Next loop to add the numbers to the ComboBox. Here is the... i As Integer = 1 To 100 ComboBox1.Items.Add...

    1 Answers · Computers & Internet · 14/03/2011

  10. Change the "if" to "for" as in for (i= 1 ; i<= 100 ; i++) { system.out.println(i); }

    3 Answers · Computers & Internet · 01/11/2007

  1. Try asking your question on Yahoo Answers