Respuesta :
The idea is the following (the specific code will vary depending on the specific language):
- declare a global counter, i = 11, and an inner counter, c = 0.
- make a for loop where i runts from 11 to 35 (inclusive)
- for each iteration, print i and increase c by 1. If c=5, print a return carriage (\n) and reset count to 0.
For example, in Java you'd have
public class PrintNumbers{
public static void main(String []args){
int i;
int c = 0;
for (i=11; i<=35; i++){
System.out.print(i + " ");
c++;
if(c==5){System.out.print("\n"); c=0;}
}
}
}