Help me in solving CLB101 problem

My issue

how to solve this problem

My code

#include <stdio.h>

int main() {

    int n;
    scanf("%d", &n);
    for(int i = 1; i < 11; i = i+1) {
        printf("%d x %d = %d\n", n, i, n*i);
    return 0;

Learning course: Learn C
Problem Link: CodeChef: Practical coding for everyone

Your code looks fine , whats the problem ??