Quick actions

cmd+k|ctrl+k

Navigation

Languages

Setruktur perulangan (perulangan for)

Snippet info

Language

Cpp

Visibility

public

Author

karelzzzzz27

Created

2023-05-27T09:01:22.577323Z

Updated

2023-05-27T09:01:22.577323Z

#include <stdio.h>
int main() {
    int x, y;
    scanf("%d %d", &x, &y);
    if (y!=0)
        if (x/y>20)
        printf("1\n");
    else
        printf("-1\n");
return 0;
}
INFO