Computer Science, asked by PranaySankarnath, 1 year ago

Write a C++ program to print multiplication table of a given number ?.. please answer...I will mark you as a brainist..​

Answers

Answered by abi2790
2

#include <iostream>

#include<conio.h>

void main()

{

clrscr();

   int n;

   cout << "Enter a number to get the tables for:-";

   cin >> n;

   for (int i = 1; i <= 10; ++i)

   {

       cout << n << " * " << i << " = " << (n * i)<< endl;

   }

    getch();

}

Don't worry,errors will not occur...


PranaySankarnath: thank you
abi2790: Your Welcome!
Similar questions