Yahoo Web Search

  1. Sort by

  1. ... part are you having difficulty with ? Just implement a DO/WHILE loop like it says above and accumulate the terms inside the...

    1 Answers · Computers & Internet · 13/12/2009

  2. 1/8 of 100 is 12 1/2 or 12.5

    4 Answers · Computers & Internet · 21/01/2012

  3. ...the same thing in Fortran 90/95 with virtually the same syntax. v = 0 DO i = 1, 2 v(:,i) = 4 END DO Just remember that if you...

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

  4. ...statement to do this manually, but you will have to do it for every single possibility, so your code will be more than 100 lines long. Nevertheless...(); switch(number) { case 1: System.out.println("One...

    1 Answers · Computers & Internet · 31/05/2008

  5. ..., I'm going to assume Javascript. ;) var response; do { response = prompt("Enter a number between 1 and 100"); if (response >= 1 && response <= 100) { break; } alert("...

    4 Answers · Computers & Internet · 21/10/2009

  6. Maybe all you need to do is put cout << x <... I was clear above. double epsilon = 1e-9; double x = 1.0; double f = x*x - 2; double Df = 2*x; while (fabs(f...

    1 Answers · Computers & Internet · 20/10/2017

  7. #include<stdio.h> #include<conio.h> void printnum(int num) { printf("%d",num); if(num>1) printnum(num-1); } int main() { printnum(100); getch(); return 0; }

    3 Answers · Computers & Internet · 15/09/2007

  8. ...you be using modulus (%) instead of multiplication in that (int)(Math.random() * 100 + 1) expression? i.e., (int)(Math.random() % 100 + 1) Also your logic...

    1 Answers · Computers & Internet · 27/11/2010

  9. ... your "do while" through "end do" with: .... do 10 i=1,100 sum = sum+i 10 continue Also, I believe that i will be 100, not 101 at...

    1 Answers · Computers & Internet · 23/09/2014

  10. ...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