Sunday, February 21, 2016

URI 1078 - Multiplication Table

#include <stdio.h>

int main() {

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

No comments:

Post a Comment

Thank you for commenting. Please wait for response :)