Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Print the multiplication table of a given number.
#include <stdio.h> int main() { int n; scanf("%d", &n); for (int i = 1; i <= 10; i++) { printf("%d x %d = %d\n", n, i, n * i); } return 0; }
5
5 x 1 = 5 5 x 2 = 10 5 x 3 = 15 ... 5 x 10 = 50