Allen Chen

Generation

generate functionSun, 02 Apr 2023

the 1 to 19 times table

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

Questions about programming?Chat with your personal AI assistant