We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
  • Hackerrank Home
  • Prepare
    NEW
  • Certify
  • Compete
  • Career Fair
  • Hiring developers?
  1. Prepare
  2. Linux Shell
  3. Bash
  4. Looping and Skipping

Looping and Skipping

Problem
Submissions
Leaderboard
Discussions
Editorial
Tutorial

Your task is to use for loops to display only odd natural numbers from to .

Input Format

There is no input.

Constraints

-

Output Format

1
3
5
.
.
.
.
.
99  

Sample Input

-

Sample Output

1
3
5
.
.
.
.
.
99  

Explanation

-

Author

PRASHANTB1984

Difficulty

Easy

Max Score

2

Submitted By

169249

Need Help?


View tutorial
View discussions
View editorial
View top submissions

rate this challenge

MORE DETAILS

Download problem statement
Download sample test cases
Suggest Edits
  • Blog
  • Scoring
  • Environment
  • FAQ
  • About Us
  • Support
  • Careers
  • Terms Of Service
  • Privacy Policy