{"id":5058,"date":"2021-12-20T23:00:00","date_gmt":"2021-12-20T17:30:00","guid":{"rendered":"https:\/\/www.codingbroz.com\/?p=5058"},"modified":"2021-12-25T12:17:41","modified_gmt":"2021-12-25T06:47:41","slug":"cpp-program-to-print-odd-numbers-from-1-to-100","status":"publish","type":"post","link":"https:\/\/www.codingbroz.com\/cpp-program-to-print-odd-numbers-from-1-to-100\/","title":{"rendered":"C++ Program to Print Odd Numbers From 1 To 100"},"content":{"rendered":"\n

In this post, we will learn how to print odd numbers from 1 to 100 using C++<\/strong> Programming language.<\/p>\n\n\n\n

Any number which is not exactly divisible by 2<\/strong> is called odd numbers<\/strong>. For example: 3, 12, 27, and so on.<\/p>\n\n\n\n

We will find odd numbers by checking whether the numbers are divisible by 2<\/strong> or not. We will perform this task using following methods:<\/p>\n\n\n\n

  1. Using For Loop<\/li>
  2. Using While Loop<\/li>
  3. Using Do While Loop<\/li><\/ol>\n\n\n\n

    So, without further ado, let\u2019s begin this tutorial.<\/p>\n\n\n\n

    \n