Skip to main content

Posts

Showing posts with the label IF-ELSE

Conditional Statements(If , if-else , Nested IF ELSE and else if) in C program #DOTC_mdb

Conditional Statement in C Program.   Hi   Everyone,   Today we will discuss about condition/decision statement in C like If..else, Nested If..else and else..if Statement with basic example. Before Start with Conditional statement in C , Please go through my previous blogs for your reference where i defined the syntax and keywords with basic C programs included one IF conditional statement so it’s easy for you to go through this blog . Previous blog link is as below : https://dheeraj60.blogspot.com/2020/06/introduction-to-c-program-dotcmdb.html https://dheeraj60.blogspot.com/2020/06/c-basics-programs-with-with-different.html Let’s   Start with Conditional/decision statement in C . Type of Condition/Decision statement in C is as below : IF IF –ELSE statement Nested IF _ELSE Statement ELSE –IF   Statement In Previous blog i already defined IF statement with basic programs so let’s start with IF-ELSE statement in C. IF-ELSE – If condition is true then t...