• A Using a for loop
  • B Using a while loop
  • C Using recursion
  • D Using a do-while loop
  • Share this MCQ