Program 16 #P16 -C Program to display a number if user enters negative number #C128

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



Duration: 2:32
334 views
10


How if statement works?
The if statement evaluates the test expression inside the parenthesis.

If the test expression is evaluated to true nonzero, statements inside the body of if is executed.
If the test expression is evaluated to false 0, statements inside the body of if is skipped from execution.
When user enters -2, the test expression number less than 0 is evaluated to true. Hence, You entered -2 is displayed on the screen.
When user enters 5, the test expression number less than 0 is evaluated to false and the statement inside the body of if is skipped.
In programming, decision making is used to specify the order in which statements are executed. In this tutorial, you will learn to write if...else statements to make decisions in your program.

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




Other Videos By Rubal Solutions


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 ।। 😈😈🙌🙌 भावपूर्ण श्रद्धाजलि ।।
2019-02-14Program 9 #P09 - Program To Swap Numbers Without Using Temporary Variable #C119



Tags:
computer education
computer education in Hindi
basic computer training
rubalsolutions
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
c ternary operator
#ifelsestatements
#conditions
#cflowcontrol
computer education for all
computer educational videos