Program 17 #P17 -// Program to check whether an integer entered by the user is odd or even #C129

Subscribers:
10,700
Published on ● Video Link: https://www.youtube.com/watch?v=t2a8waM28mA



Duration: 3:05
220 views
7


How if...else statement works?
If test expression is evaluated to true,

statement(s) inside the body of if statement is executed
statement(s) inside the body of else statement is skipped from execution.
If test expression is evaluated to false,

statement(s) inside the body of else statement is executed
statement(s) inside the body of if statement is skipped.

When user enters 7, the test expression ( number%2 == 0 ) is evaluated to false. Hence, the statement inside the body of else statement printf("%d is an odd integer"); is executed and the statement inside the body of if is skipped.

#rubalsolutions #coding #developer #programming #programmer #technology #clanguage #computerscience #c #informaticpractices #sub #subscribe #youtube #newyoutuber #youtubechannel




Other Videos By Rubal Solutions


2019-02-22Learning C Programming || C Flow Control-C for LOOP || For Beginners || #C137
2019-02-21Program 24 #P24 - C Program to Check Whether a Number is Positive or Negative #C136
2019-02-21Program 23 #P23 - C Program to Check Whether a Number is Positive or Negative #C135
2019-02-21Program 22 #P22 - C Program to Find all Roots of a Quadratic Equation #C134
2019-02-21कशी का प्रसाद ।। Narrated By : मुदित बंसल ।। 3rd B || Anslem Ajmer.
2019-02-20Program 21 #P21 - Program to know LARGEST number among THREE numbers NESTED IF..ELSE STATEMENT #C133
2019-02-20Program 20 #P20 - Program to know LARGEST number among THREE numbers using IF..ELSE STATEMENT #C132
2019-02-20Program 19 #P19 - Program to know LARGEST number among THREE numbers using ONLY IF STATEMENT #C131
2019-02-20Awesome Toddler learning binder made by Artist ‎Reshma Maknojia. WORTH SHARING . It's inspires us .
2019-02-19Program 18 #P18 - Program to relate two integers using operators for if else ladder #C130
2019-02-19Program 17 #P17 -// Program to check whether an integer entered by the user is odd or even #C129
2019-02-19Program 16 #P16 -C Program to display a number if user enters negative number #C128
2019-02-19Learning C Programming || C Flow Control-C if-else Statement || For Beginners || #C127
2019-02-18Program 15 #P15 -C Program to demonstrate the working of C Ternary Operator #C126
2019-02-18Program 14 #P14 -C Program to demonstrate the working of logical operators #C125
2019-02-18Program 13 #P13 - C Program to demonstrate the working of relational with arithmetic operators #C124
2019-02-17Program 12 #P12 - C Program to demonstrate the working of assignment operators #C123
2019-02-17Program 11 #P11 - C Program to demonstrate the working of increment and decrement operators #C122
2019-02-17Program 10 #P10 - Program to demonstrate the working of arithmetic operators #C121
2019-02-17Learning C Programming || C Programming Operators in C || For Beginners || #C120
2019-02-14Inquilab Zindabad ।। 😈😈🙌🙌 भावपूर्ण श्रद्धाजलि ।।



Tags:
computer education
computer education in Hindi
basic computer training
rubalsolutions
beginner YouTube
coding
developer
newyoutuber
subscribe
sub
computer-science
#clanguage
#detailedcprogram
c (programming language)
#learn c
c basic programming in hindi
c basics for beginners
practical use of c programming
beginner youtube setup
beginner youtube video ideas
#ifelsestatements
#conditions
#cflowcontrol
computer educational videos
importance of computer education in hindi