Computer Science, asked by ng437704, 1 year ago

Write the Program for the Given Output c++ code
Write a program to print the following series: 2 22 222 2222 22222 222222

Answers

Answered by prashukjain96
0

i=2 for(int j=0;j<=5;j++) { printf(i) i=i*10+2 }

Similar questions