Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 12/02/10 in all areas

  1. #include <iostream> #include <math.h> using namespace std; int main() { int n = 0; double f = 0.0; while(n<20) { f=(1/sqrt(5))*(pow((1+sqrt(5))/2,n)-pow((1-sqrt(5))/2,n)); cout << f << " "; n++; } return 0; } c) #include <iostream> #include <math.h> using namespace std; int main() { int n = 0; while(n<20) { cout << (1/sqrt(5))*(pow((1+sqrt(5))/2,n)-pow((1-sqrt(5))/2,n)) << " "; n++; } return 0; }
    1 point
  2. a) #include <iostream> using namespace std; int main() { unsigned int a = 0, b = 1; while (b < 40000) { cout << a << ", " << b << ", "; a += b; b += a; } system("pause >nul"); return 0; }
    1 point
  3. Nu are rost sa-i dau copy- paste aici ca-i stric aspectul . Autor : Telinov Dmitri, Universitatea Tehnica a Moldovei ATACURILE SQL INJECTION Alte chestii interesante aici !
    -1 points
×
×
  • Create New...