expected ';' before ')'

although i have put ; before ) it keeps showing me an error. what's wrong with my code?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
  Put the cod
#include <stdio.h>
#include "genlib.h"
#include "simpio.h"


int main() {
    int age, biggest,smallest;

        biggest = 1;
        smallest = 1;

    while ( age != -1)
    {
        printf("dwse ilikia");
        age = GetInteger();

        if (age > biggest)

            biggest = age;
        else

            smallest = age;
    }

printf("megaliteri %d\n", biggest);
printf("mikroteri %d\n"), smallest);

return 0;







}e you need help with here.
printf("mikroteri %d\n"), smallest);
Too many ) in this statement.
Topic archived. No new replies allowed.