A workstation used at an engineering firm.
a.on , off
In most computer processors, electron movement is controlled by tiny switches that turn this flow of electricity on and off...zero represents off and one represents on
Answer:
#include <iostream>
using namespace std;
int main()
{
cout << "N\t10*N\t100*N\t1000*N" << endl;
int x=1;
while(x<=5){
cout << x <<"\t"<< x*10 <<"\t"<<x*100 <<"\t"<< x*1000 << endl;
x++;
}
return 0;
}
Explanation:
Print the header, N 10*N 100*N 1000*N, using \t
Initialize the x as 1. It will be used to control the while loop
Create a while loop that iterates while x is smaller than or equal to 5
Inside the loop, print the required values. After printing, increment the value of x by 1