If And Else If statement - Assamese
- subtitles off
- captions off
- English
- Assamese
This is a sample video. To access the full content,
 please  
                                
                                     Login
                                
                                 
- Questions posted on Forums
- C and Cpp Tutorials - Assamese
- 
                Assignment
                Using if statement#include<stdio.h>int main (){int a,b;printf("enter the value of a,b");scand("%d%d",&a,&b);if(a>b){printf("a is greater than b\n");}if(a<b){printf("a is less than b\n");}return 0;} The output is as followsa=45b=56a is less than b 12-13M 50-60S Sakshichoudhary
 Answer last updated on: Aug. 21, 2024, 9:09 p.m.
 
- 
                else termination
                How else is working even if i terminate it by semicolon?#include <stdio.h>int main(){ int a,b,c; printf("Enter the value of a,b and c \\n"); scanf("%d%d%d",&a,&b,&c); if(a>b && a>c) { printf("a is greater than b and c \\n"); } else if(b>a && b>c) { printf("b is greater than a and c\\n"); } else; { printf("c is greater than a and b\\n"); }return 0;} 05-06M 30-40S HarryKaur
 Answer last updated on: Aug. 19, 2024, 2:50 p.m.
 
- 
                else if statement
                in the below coding,if(c>=20)printf("c is grater than or equal to 20");else if(c<=20 && c>=10)printf("c is between 10 and 20");the value of c is 20,output will be "c is grater than or equal to 20",why the else if (qualifies for the same condition) does not get executed 00-01M 10-20S palanithangam
 Answer last updated on: Feb. 29, 2020, 3:55 p.m.
 
- 
                write a c program to find the roots of a quadratic equation
                write a c program to find the roots of a quadratic equation 02-03M 10-20S santhoshkasalaniit
 Answer last updated on: Sept. 13, 2018, 12:18 a.m.
 
- 
                
                1 First C Program First C Program
- 
                
                2 First Cpp Program First Cpp Program
- 
                
                3 Tokens Tokens
- 
                
                4 Functions Functions
- 
                
                5 Scope Of Variables Scope Of Variables
- 
                
                 If And Else If statement If And Else If statement
- 
                
                7 Nested If And Switch Statement Nested If And Switch Statement
- 
                
                8 Increment And Decrement Operators Increment And Decrement Operators
- 
                
                9 Arithmetic Operators Arithmetic Operators
- 
                
                10 Relational Operators Relational Operators
- 
                
                11 Logical Operators Logical Operators
- 
                
                12 Loops Loops
- 
                
                13 Arrays Arrays
- 
                
                14 Working With 2D Arrays Working With 2D Arrays
- 
                
                15 Strings Strings
- 
                
                16 String Library Functions String Library Functions
- 
                
                17 Working With Structures Working With Structures
- 
                
                18 Understanding Pointers Understanding Pointers
- 
                
                19 Function Call Function Call
- 
                
                20 File Handling In C File Handling In C
Questions posted on ST Forums:
1093 visits
Outline:
1. কন্ডিচনেল ষ্টেতমেন্ত আউতলাইন (Conditional statements Outline): এটা প্ৰোগ্ৰামত চৰ্ত সমূহ পৰীক্ষা কৰা (Check the conditions in a program) ষ্টেতমেন্ত বিলাক কি হয় (What are Statements) If ষ্টেতমেন্তৰ গাঠনি আৰু(Syntax for if and) If-else ষ্টেতমেন্ত (If-else Statement) ভুল (Errors)
| Width: | 816 | Height: | 672 | 
|---|---|---|---|
| Duration: | 00:12:28 | Size: | 6.6 MB | 
Show video info
 
                                    
                                