मराठी
तामिळनाडू बोर्ड ऑफ सेकेंडरी एज्युकेशनएचएससी विज्ञान इयत्ता ११

Write a C++ program to print the multiplication table of a given number. - Computer Science

Advertisements
Advertisements

प्रश्न

Write a C++ program to print the multiplication table of a given number.

टीपा लिहा

उत्तर

# include
using namespace std;
int main ()
{

int num;
cout << “Enter Number to find its multiplication table”; cin >> num;
for (int a = 1; a < = 10; a++)
{
cout << num << “*” << a << “=” << num*a << endl;
}
return( );

}

shaalaa.com
Selection Statements
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 10: Flow of Control - Evaluation - Section - C [पृष्ठ १७८]

APPEARS IN

सामाचीर कलवी Computer Science [English] Class 11 TN Board
पाठ 10 Flow of Control
Evaluation - Section - C | Q 3. | पृष्ठ १७८
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×