``` #include <iostream> using namespace std; int main() { int no; cout<<"Enter any number\n"; cin>>no; cout<<"Natural no. from 1 to "<<no<<" is given below\n"; for ...
1.) Basic Example of Nested for Loop PROGRAM : for i in range(3): # Outer loop for j in range(2): # Inner loop print(f"i = {i}, j = {j}") OUTPUT : i = 0, j = 0 i = 0, j = 1 i = 1, j = 0 i = 1, j = 1 i ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results