Computer Science, asked by Abhideep500, 8 months ago

1. Unsolved Programs
1. Write a program to display the Mathematical Table from 5 to 10 for 10 iterations
in the given format:
Sample Output: Table of 5
5*1 = 5
5*2 =10
5*10 = 50​

Answers

Answered by srajfaroquee
3

Note: I am using C++ language.

#include<iostream>

using namespace std;

int main ( ){

   for (int i=5 ; i<=10 ;i++){

       cout<<"* Table of " <<i  <<endl;

       for( int j = 1; j <= 10; j++ ){

           cout<< j <<" x " << i <<" = " <<j*i <<endl ;

       }

       cout<<"\n\n";

   }

   return 0;

}

**Please mark this answer as Brainliest answer!

Similar questions