C Program to Print First N Even/Odd Numbers | In Hindi

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ต.ค. 2024
  • C Program to Print First N Even/Odd Numbers | In Hindi | Tutorial 28
    Looping is another type of Conditional Control Statement. Looping is one of the most important concept of any programming language. Looping is done to perform a repitative task. When a statement has to be execute n numbers of times till the condition is true, you may use the concept of looping. Loops are basically of three types:
    1. While loop
    2. Do-While loop
    3. For loop
    All these 3 parts must be present in the loop, and then only the loop is correct otherwise not. In this video, I have explained how to actually implement while concept.
    In this video I have explained that how to print first n natural numbers using while loop. Natural Number starts from 1 and goes to infinite.
    Link to Previous Video: • C Program to Print fir...
    Link to Next Video: • C Program to Find Sum ...
    =======================================================================
    CODEITUP PLAYLISTS
    1. C Programming Playlist: • C Language Tutorial in...
    2. C++ Programming Playlist: • C++ Tutorial in Hindi
    3. Java Programming Playlist: • Java Tutorials For Beg...
    4. Python Programming Playlist: • Complete Python Tutori...
    5. CBSE Class 12 (CS) Python Playlist: • CBSE Class XII Python ...
    6. CBSE Class 12 (IP) Playlist: • CBSE Class XII IP Pand...
    7. CBSE Class 11 (CS) Playlist: • CBSE Class XI Python T...
    8. CBSE Class 10 (IT): • Class 10 Information T...
    9. Networking Playlist: • Networking
    10. MySQL Playlist: • Structured Query Langu...
    11. Web Designing: • Web Designing | HTML |...
    12. NumPy Playlist: • Complete Numpy Tutoria...
    13. Computer Fundamental Playlist: • Fundamentals of Computer
    =======================================================================
    Telegram Channel: t.me/codeitupl...
    Facebook Group: / 21673. .
    Instagram: t.me/codeitupyt
    Facebook Group: www.facebook.c...
    Facebook Page: / codeitup-104310264625489
    Website: codeitup.in
    Join this channel to get access to perks: / @codeitup
    =======================================================================
    Tags Used:
    first n even numbers
    sum of n even natural numbers
    even number
    reverse order
    print even numbers
    c program to print first n natural numbers
    c program to print from 1 to n
    while loop exercise
    while loop in c programming
    print 1 to 10
    even number display
    display even
    program to print 10 numbers
    C Program to Print First N Even/Odd Numbers - In Hindi
    print 10 natural numbers
    first 10 natural number
    printing first n natural numbers
    n natural numbers in reverse
    c programming
    c programming for beginners
    #codeitup
    #whileloop
    #cprogramming

ความคิดเห็น • 38

  • @bong25
    @bong25 ปีที่แล้ว +3

    specially for programming , sir you are best sir in the world ever , your explanation sir superb ❤️‍🩹. 😇

    • @codeitup
      @codeitup  ปีที่แล้ว +1

      Thanks a ton!

  • @anushkasaxena6507
    @anushkasaxena6507 7 หลายเดือนก่อน +1

    Thank you, sir, your explanation was superb 🙏

    • @codeitup
      @codeitup  7 หลายเดือนก่อน

      You are most welcome Anushka!

  • @rockyhandsome4809
    @rockyhandsome4809 ปีที่แล้ว +1

    how to print both even and odd Numbers in a single program using whie loop

  • @expressworld8936
    @expressworld8936 5 ปีที่แล้ว +2

    Sir suggest me some project in Python pls
    Im Beginner

    • @codeitup
      @codeitup  5 ปีที่แล้ว +1

      Your basics are clear in Python? If yes its ok, otherwise follow my Python Tutorial and when you complete it let me know. I will let you know about python project.

  • @santasingh6063
    @santasingh6063 2 ปีที่แล้ว +2

    thanks sir for you hardwork i n clearing all of our doubts
    thanks sir from the bottom of my heart🌠

    • @codeitup
      @codeitup  2 ปีที่แล้ว

      Most welcome dear, keep learning😊

  • @satyanarayankumar9209
    @satyanarayankumar9209 5 หลายเดือนก่อน

    i=2 and i=i+2 yee bhi to leke bana sakte hai

  • @DarkbchanduDarkbchandu
    @DarkbchanduDarkbchandu 8 หลายเดือนก่อน

    Sir if(i%2==0) se samajh me nehi aya sir

  • @yunikbhattarai967
    @yunikbhattarai967 3 ปีที่แล้ว +1

    Sir what if we use
    i= 1 ; and
    i= i+ 2
    To print odd numbers
    Is it right 👉 ?

    • @codeitup
      @codeitup  3 ปีที่แล้ว +1

      Yes Yunik

  • @eracersofficial5239
    @eracersofficial5239 5 หลายเดือนก่อน

    fantastic explanation sir , best channel to code, keep going sir , 1 million soon

  • @abhishekkumar-ou5qc
    @abhishekkumar-ou5qc 10 หลายเดือนก่อน

    thanku for more relevent explaining

    • @codeitup
      @codeitup  10 หลายเดือนก่อน

      😊

  • @basukinathprasad7866
    @basukinathprasad7866 4 ปีที่แล้ว +1

    Wow

  • @athrva7705
    @athrva7705 9 หลายเดือนก่อน +1

    Bahut accha explain kiya sir🎉

    • @codeitup
      @codeitup  8 หลายเดือนก่อน

      😊🙏

  • @web_with_gautam94
    @web_with_gautam94 ปีที่แล้ว

    sir ye program smajh nhi aya

    • @5drivef
      @5drivef 8 หลายเดือนก่อน

      Bhen ke itna sa program nhi aaya ky tujhe

  • @rkvai2011
    @rkvai2011 4 หลายเดือนก่อน

    Yes brother

    • @codeitup
      @codeitup  4 หลายเดือนก่อน

      😊

  • @CodeWithShivam01
    @CodeWithShivam01 ปีที่แล้ว

    thanks sir

    • @codeitup
      @codeitup  ปีที่แล้ว

      Most welcome!

  • @zfrmansuri
    @zfrmansuri 3 ปีที่แล้ว

    Sir while ke place pr goto ka use bhi ho skta h na?

  • @nitintomar8957
    @nitintomar8957 3 ปีที่แล้ว

    Gjb pdara mera bhai tod krra

  • @priyankafegde1246
    @priyankafegde1246 2 ปีที่แล้ว

    Sir ur explanation is awesome 👌🏻🤷

    • @codeitup
      @codeitup  2 ปีที่แล้ว

      Thanks Priyanka 😊

  • @kdcreation6893
    @kdcreation6893 2 ปีที่แล้ว

    Nice teaching

    • @codeitup
      @codeitup  2 ปีที่แล้ว

      Thanks😊

  • @sauravjha316
    @sauravjha316 2 ปีที่แล้ว

    Great sirr

    • @codeitup
      @codeitup  2 ปีที่แล้ว

      Thanks Saurav!

  • @ommamidwar7923
    @ommamidwar7923 2 ปีที่แล้ว

    Thank you sir ❤️

    • @codeitup
      @codeitup  2 ปีที่แล้ว

      Most welcome!

    • @codeitup
      @codeitup  2 ปีที่แล้ว

      Most welcome!

  • @shru_k
    @shru_k 3 ปีที่แล้ว

    sir, why you took i

    • @codeitup
      @codeitup  3 ปีที่แล้ว +2

      If you have to print from 1-10, the condition would be i