Nested If And Switch Statement - Telugu
- subtitles off
- captions off
- English
- Telugu
- Questions posted on Forums
- C and Cpp Tutorials - Telugu
-
About nested if program
But it is not an nested if program.It is a ladder if.
01-02M 30-40S unanswered konikaverma02@gmail.com
Question posted on: Sept. 27, 2019, 10:04 p.m.
-
DOUBT IN QUESTION
A)Write a program to check whether the age of the employee is between 20 and 60? B) Write a program to check whether the age of the employee is between 20 and 59? Here, I mentioned two questions.Which one is correct?We cant able to write program to the Question A?In the tutorial also asked the students to write coding for A? B) Write a program to check whether the age of the employee is between 20 and 59?CODING:-#include<stdio.h>int main(){ int a; printf("Enter the age of a employee between 20 to 59"); scanf("%d",&a); if((a/10)==5){ printf(" AGE RANGE BETWEEN 50 to 59");} else if((a/10)==3){ printf(" AGE RANGE BETWEEN 30 to 49");}else if((a/10)==2){ printf(" AGE RANGE BETWEEN 20 to 29");}else{printf("AGE NOT IN RANGE\n");}return 0;}
08-09M 10-20S vigneshwarigopalan
Answer last updated on: Aug. 19, 2024, 3:02 p.m.
-
QUESTION PROBLEM
Write a program to check whether the age of the employee is between 20 and 60? Is the above question correct? Write a program to check whether the age of the employee is between 20 and 59? Or this one
08-09M 0-10S vigneshwarigopalan
Answer last updated on: Aug. 19, 2024, 2:59 p.m.
-
nested if else
COMPARE TO SWITCH AND IF ELSE, which statement is more often used in real time programming
01-02M 50-60S prabhu84a
Answer last updated on: Feb. 29, 2020, 11:58 a.m.
-
nested if else
Nested if else is used specially in which type of program ?
04-05M 0-10S ratultimung04@gmail.com
Answer last updated on: Dec. 9, 2016, 1:12 p.m.
-
Nested if and switch statements
What are conditional statements?
09-10M 0-10S ishpreet9464
Answer last updated on: April 4, 2016, 12:03 p.m.
-
1First C Program
-
2First Cpp Program
-
3Tokens
-
4Functions
-
5Scope Of Variables
-
6If And Else If statement
-
Nested If And Switch Statement
-
8Increment And Decrement Operators
-
9Arithmetic Operators
-
10Relational Operators
-
11Logical Operators
-
12Loops
-
13Arrays
-
14Working With 2D Arrays
-
15Strings
-
16String Library Functions
-
17Working With Structures
-
18Understanding Pointers
-
19Function Call
-
20File Handling In C
Questions posted on ST Forums:
1313 visits
Outline:
నెస్టెడ్ ఇఫ్ మరియు స్విచ్ స్టేట్మెంట్లు నెస్టెడ్ ఇఫ్ స్టేట్మెంట్ స్విచ్ స్టేట్మెంట్ నెస్టెడ్ ఇఫ్ స్టేట్మెంట్ యొక్క సిన్ట్యాక్స్ స్విచ్ స్టేట్మెంట్ యొక్క సిన్ట్యాక్స్ బ్రేక్ స్టేట్మెంట్ నెస్టెడ్ ఇఫ్ ఎల్స్ స్టేట్మెంట్ మరియు స్విచ్ స్టేట్మెంట్ మధ్య ఉన్న పోలికలు
Width: | 848 | Height: | 696 |
---|---|---|---|
Duration: | 00:09:12 | Size: | 6.2 MB |
Show video info