Varanasi-Software-Junction / datastructures

A repository on Data Structures
MIT License
8 stars 5 forks source link

Problems on Loops -1 #13

Open Mohitmauryagit opened 2 years ago

Mohitmauryagit commented 2 years ago
  1. Print the series 1,2,3,4,5,6,7,8,9,10
  2. 2,4,6,8,10
  3. 1,3,5,7,9
  4. 1,4,9,16,,,64,81,100
  5. 2,6,12,20,,,,56,72,90
  6. 1,-1,1,-1,1-1,1-1,,,
  7. 1,-2,3,-4,5,-6,7,-8,9,-10
  8. Print all this in reverse also.