Friday, October 26, 2018

Uri 1078 solution in C | Multiplication Table

/*Before seeing the code solution make sure that you have tried enough. Don’t copy- paste the whole code. Find out the logic. If you face any trouble, just inform me in comment.*/

#include<stdio.h>
main()
{
    int n,i;
    scanf("%d",&n);
    for(i=1;i<=10;i++)
    {
        printf("%d x %d = %d\n",i,n,i*n);
    }
    return 0;
}

 //Happy_Coding

No comments:

Post a Comment