0
#include <cs50.h>
#include <stdio.h>

int int(void)
{
    printf("how much time you take for bath:");
    int x=GetInt();
    printf("total bottals:");
    int y=12;

    printf("the multiple of %i and %i is %i!\n", x,y,x*y);
}
0
1

Firstly, it should be int main(void) instead of int int(void) in the first line. Secondly, i hope you are using cs50 library. I checked your code after adding these things it is working fine.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .