Computer Science, asked by vadoliyap7, 1 year ago

As soon as possible answers.

Attachments:

Answers

Answered by piyushrajsingh9110
0

Answer:

While ()

Explanation:

(

...................

...................

sequence of statements

)

Answered by presentmoment
0

Program to print a table using while loop in C++ is :

Explanation:

#include <iostream>

#include <conio.h>

using namespace std;

int main()

{

   int n=1;

   cout << "Enter the number :" << endl;

   cin>>n;

   int i=1;

   while(i<=10){

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

        i++;

   }

   getch();

   return 0;

}

The output of the program is given in the image

Attachments:
Similar questions