Computer Science, asked by irascyed, 9 months ago

•Write a c++ program that reads 5 numbers and displays their table.

Answers

Answered by sareermir757
1

Answer:

it is upto 10

Explanation:

#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;

}

Similar questions