Question: Create a flowchart (loop) using this code: #include using namespace std; int main() { int n, range; cout < < Enter an integer: ; cin
Create a flowchart (loop) using this code:
#include
int main()
{ int n, range;
cout << "Enter an integer: "; cin >> n;
cout << "Enter range: "; cin >> range;
for (int i = 1; i <= range; ++i) { cout << n << " * " << i << " = " << n * i << endl; return 0; }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
