Generation

generate functionWed, 16 Nov 2022

Write a c program to display multiplication table of a given value

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

Questions about programming?Chat with your personal AI assistant