1. 1.
    0
    (bkz: bbi)
    ···
  1. 2.
    0
    gay bu bana pmden 10 liraya zütünü teklif etti
    ···
  2. 3.
    0
    knayt onlayn terk
    ···
  3. 4.
    0
    yazılımcı
    ···
  4. 5.
    0
    sing namespace std;

    1. include <iomanip>

    2. include <ctime>

    const int NUM_GRADES = 10;
    const int NUM_STUDENTS = 3;

    int findHighest (int []);
    int findLowest (int []);

    void printDatabase(const int [][NUM_GRADES], const char [] [20]);

    int main()
    {
    int student1[ NUM_GRADES ] = {56,67,83,81,70,84,94,64,68,86};
    int student2[ NUM_GRADES ] = {76,89,81,42,66,93,104,91,71,85};
    int student3[ NUM_GRADES ] = {65,69,91,89,82,93,72,76,79,99};

    char studentNames [NUM_STUDENTS ] [5] = {"Bob", "John", "Joe"};

    int database [ NUM_GRADES ][NUM_STUDENTS ];
    int i = 0;

    srand( time (0));

    for (i=1; i < NUM_GRADES; i++)
    student1[ NUM_GRADES ] = rand() % 50 + 50; //

    for (i=0; i < NUM_GRADES; i++)
    {
    database[ 0 ] [ i ] = student1[ i ];
    database[ 1 ] [ i ] = student2[ i ];
    database[ 2 ] [ i ] = student3[ i ];
    }

    printDatabase (database , studentNames);

    for (i=0; i < NUM_STUDENTS; i++)
    {
    cout << studentNames << "'s highest grade is: " << findHighest (student1) << endl
    << studentNames << "'s lowest grade is: " << findLowest (database [ i ]) << endl;

    }

    return 0;
    }

    int findHighest (int a[])
    {
    int highest = a[ 0 ];

    for ( int i = 1; i <= NUM_GRADES; i++)
    {if (a[ i ] > highest )
    highest = a[ i ];
    }

    return highest;
    }

    int findLowest (int a[] )
    {
    int lowest = a[ 0 ] ;

    for ( int i = 1; i <= NUM_GRADES; i++)
    if (a[ i ] < lowest )
    lowest = a[ i ];

    return lowest;
    }

    void printDatabase(const int a[][ NUM_GRADES ], char studentNames[] [ 20 ] )
    {
    cout << "Here is the grade databasenn" << setw(10) << "Name";

    {
    for (int n = 1; n <= NUM_STUDENTS; n++)
    {
    cout << setw( 4 ) << n;

    cout << endl;
    }

    for (int i = 0; i < NUM_STUDENTS; i++)
    {
    cout << setw (10) << studentNames[ i ];

    for (int j = 0; j < NUM_GRADES; j++)

    cout << setw ( 4 ) << a[ i] [j];

    cout << endl;
    }
    cout << endl;

    }
    //system("pause");
    }
    ···
  5. 6.
    0
    pipime dokunuyorum büyüyoooo =)
    ···
  6. 7.
    0
    slm
    ···
  7. 8.
    0
    ultimacı mısın lan *
    ···
  8. 9.
    0
    @8 dotacıyım
    ···
  9. 10.
    0
    @1 makarna süzgeci
    ···
  10. 11.
    0
    sorduk mu ha sorduk mu
    ···
  11. 12.
    0
    anasını çok fena rezil edip gibtiğim yazar

    (bkz: beyler başıma çok kötü bi olay geldi)
    ···
  12. 13.
    0
    *
    ···
  13. 14.
    0
    (bkz: sevgilim tek gecelik ilişki yaşamış yardım/#64299550)

    bu entrysiyle babası iyi ki dışarı boşalmamış dedirten yazar
    ···
  14. 15.
    0
    @2 bana da sakso cekecegını soyledı
    ···