Suche senden
Hochladen
Control Structures
•
27 gefällt mir
•
15,028 views
G
Ghaffar Khan
Folgen
Technologie
Melden
Teilen
Melden
Teilen
1 von 22
Empfohlen
Operators in java
Operators in java
Then Murugeshwari
Switch Case in C Programming
Switch Case in C Programming
Sonya Akter Rupa
Decision Making Statement in C ppt
Decision Making Statement in C ppt
MANJUTRIPATHI7
Control structure C++
Control structure C++
Anil Kumar
Interface in java
Interface in java
PhD Research Scholar
Object Oriented Programming
Object Oriented Programming
Iqra khalil
Data Types & Variables in JAVA
Data Types & Variables in JAVA
Ankita Totala
Pointers in c++
Pointers in c++
sai tarlekar
Empfohlen
Operators in java
Operators in java
Then Murugeshwari
Switch Case in C Programming
Switch Case in C Programming
Sonya Akter Rupa
Decision Making Statement in C ppt
Decision Making Statement in C ppt
MANJUTRIPATHI7
Control structure C++
Control structure C++
Anil Kumar
Interface in java
Interface in java
PhD Research Scholar
Object Oriented Programming
Object Oriented Programming
Iqra khalil
Data Types & Variables in JAVA
Data Types & Variables in JAVA
Ankita Totala
Pointers in c++
Pointers in c++
sai tarlekar
08 c++ Operator Overloading.ppt
08 c++ Operator Overloading.ppt
Tareq Hasan
friend function(c++)
friend function(c++)
Ritika Sharma
Conditional and control statement
Conditional and control statement
narmadhakin
Control structures in C++ Programming Language
Control structures in C++ Programming Language
Ahmad Idrees
Control structures in c
Control structures in c
baabtra.com - No. 1 supplier of quality freshers
Operator Overloading
Operator Overloading
Nilesh Dalvi
Modular programming
Modular programming
Mohanlal Sukhadia University (MLSU)
Java abstract class & abstract methods
Java abstract class & abstract methods
Shubham Dwivedi
Presentation on C Switch Case Statements
Presentation on C Switch Case Statements
Dipesh Pandey
Java Data Types
Java Data Types
Spotle.ai
Control statements in c
Control statements in c
Sathish Narayanan
Pointers in c++
Pointers in c++
Vineeta Garg
C Programming: Control Structure
C Programming: Control Structure
Sokngim Sa
Data types in C
Data types in C
Tarun Sharma
Inheritance in c++
Inheritance in c++
Vineeta Garg
Class and object in C++
Class and object in C++
rprajat007
Exceptions in Java
Exceptions in Java
Vadym Lotar
Structures in c language
Structures in c language
tanmaymodi4
data types in C programming
data types in C programming
Harshita Yadav
Arrays in Java
Arrays in Java
Abhilash Nair
C Programming Unit-2
C Programming Unit-2
Vikram Nandini
C language UPTU Unit3 Slides
C language UPTU Unit3 Slides
Rakesh Roshan
Weitere ähnliche Inhalte
Was ist angesagt?
08 c++ Operator Overloading.ppt
08 c++ Operator Overloading.ppt
Tareq Hasan
friend function(c++)
friend function(c++)
Ritika Sharma
Conditional and control statement
Conditional and control statement
narmadhakin
Control structures in C++ Programming Language
Control structures in C++ Programming Language
Ahmad Idrees
Control structures in c
Control structures in c
baabtra.com - No. 1 supplier of quality freshers
Operator Overloading
Operator Overloading
Nilesh Dalvi
Modular programming
Modular programming
Mohanlal Sukhadia University (MLSU)
Java abstract class & abstract methods
Java abstract class & abstract methods
Shubham Dwivedi
Presentation on C Switch Case Statements
Presentation on C Switch Case Statements
Dipesh Pandey
Java Data Types
Java Data Types
Spotle.ai
Control statements in c
Control statements in c
Sathish Narayanan
Pointers in c++
Pointers in c++
Vineeta Garg
C Programming: Control Structure
C Programming: Control Structure
Sokngim Sa
Data types in C
Data types in C
Tarun Sharma
Inheritance in c++
Inheritance in c++
Vineeta Garg
Class and object in C++
Class and object in C++
rprajat007
Exceptions in Java
Exceptions in Java
Vadym Lotar
Structures in c language
Structures in c language
tanmaymodi4
data types in C programming
data types in C programming
Harshita Yadav
Arrays in Java
Arrays in Java
Abhilash Nair
Was ist angesagt?
(20)
08 c++ Operator Overloading.ppt
08 c++ Operator Overloading.ppt
friend function(c++)
friend function(c++)
Conditional and control statement
Conditional and control statement
Control structures in C++ Programming Language
Control structures in C++ Programming Language
Control structures in c
Control structures in c
Operator Overloading
Operator Overloading
Modular programming
Modular programming
Java abstract class & abstract methods
Java abstract class & abstract methods
Presentation on C Switch Case Statements
Presentation on C Switch Case Statements
Java Data Types
Java Data Types
Control statements in c
Control statements in c
Pointers in c++
Pointers in c++
C Programming: Control Structure
C Programming: Control Structure
Data types in C
Data types in C
Inheritance in c++
Inheritance in c++
Class and object in C++
Class and object in C++
Exceptions in Java
Exceptions in Java
Structures in c language
Structures in c language
data types in C programming
data types in C programming
Arrays in Java
Arrays in Java
Ähnlich wie Control Structures
C Programming Unit-2
C Programming Unit-2
Vikram Nandini
C language UPTU Unit3 Slides
C language UPTU Unit3 Slides
Rakesh Roshan
C statements.ppt presentation in c language
C statements.ppt presentation in c language
chintupro9
Control statements-Computer programming
Control statements-Computer programming
nmahi96
Programming in Arduino (Part 2)
Programming in Arduino (Part 2)
Niket Chandrawanshi
Dti2143 chap 4 control structures aka_selection
Dti2143 chap 4 control structures aka_selection
alish sha
Dti2143 chap 4 control structures aka_selection
Dti2143 chap 4 control structures aka_selection
alish sha
C programming decision making
C programming decision making
SENA
Introduction to computer programming (C)-CSC1205_Lec5_Flow control
Introduction to computer programming (C)-CSC1205_Lec5_Flow control
ENGWAU TONNY
Ch04
Ch04
Arriz San Juan
C UNIT-2 PREPARED Y M V BRAHMANANDA REDDY
C UNIT-2 PREPARED Y M V BRAHMANANDA REDDY
Rajeshkumar Reddy
7 decision-control
7 decision-control
Rohit Shrivastava
Chapter 4 flow control structures and arrays
Chapter 4 flow control structures and arrays
sshhzap
Control statments in c
Control statments in c
CGC Technical campus,Mohali
Flow of Control
Flow of Control
Praveen M Jigajinni
Flow of control ppt
Flow of control ppt
Indraprastha Institute of Information Technology
CH-4 (1).pptx
CH-4 (1).pptx
Mehul Desai
Claguage 110226222227-phpapp02
Claguage 110226222227-phpapp02
CIMAP
Flow of control C ++ By TANUJ
Flow of control C ++ By TANUJ
TANUJ ⠀
Control Structures in C
Control Structures in C
sana shaikh
Ähnlich wie Control Structures
(20)
C Programming Unit-2
C Programming Unit-2
C language UPTU Unit3 Slides
C language UPTU Unit3 Slides
C statements.ppt presentation in c language
C statements.ppt presentation in c language
Control statements-Computer programming
Control statements-Computer programming
Programming in Arduino (Part 2)
Programming in Arduino (Part 2)
Dti2143 chap 4 control structures aka_selection
Dti2143 chap 4 control structures aka_selection
Dti2143 chap 4 control structures aka_selection
Dti2143 chap 4 control structures aka_selection
C programming decision making
C programming decision making
Introduction to computer programming (C)-CSC1205_Lec5_Flow control
Introduction to computer programming (C)-CSC1205_Lec5_Flow control
Ch04
Ch04
C UNIT-2 PREPARED Y M V BRAHMANANDA REDDY
C UNIT-2 PREPARED Y M V BRAHMANANDA REDDY
7 decision-control
7 decision-control
Chapter 4 flow control structures and arrays
Chapter 4 flow control structures and arrays
Control statments in c
Control statments in c
Flow of Control
Flow of Control
Flow of control ppt
Flow of control ppt
CH-4 (1).pptx
CH-4 (1).pptx
Claguage 110226222227-phpapp02
Claguage 110226222227-phpapp02
Flow of control C ++ By TANUJ
Flow of control C ++ By TANUJ
Control Structures in C
Control Structures in C
Mehr von Ghaffar Khan
World is beautiful ... ...
World is beautiful ... ...
Ghaffar Khan
My Presentation On Ajax
My Presentation On Ajax
Ghaffar Khan
Sorting
Sorting
Ghaffar Khan
How A Computer Works
How A Computer Works
Ghaffar Khan
For Loop
For Loop
Ghaffar Khan
Exponential and Logarthmic funtions
Exponential and Logarthmic funtions
Ghaffar Khan
Exponential and Logarthmic funtions (1)
Exponential and Logarthmic funtions (1)
Ghaffar Khan
Functions
Functions
Ghaffar Khan
Quadratic And Polinomial Function
Quadratic And Polinomial Function
Ghaffar Khan
Quadratic And Polinomial Function
Quadratic And Polinomial Function
Ghaffar Khan
Exponentioal And Logarthmic Functions
Exponentioal And Logarthmic Functions
Ghaffar Khan
Internet Protocol
Internet Protocol
Ghaffar Khan
Introduction to Computer Networks
Introduction to Computer Networks
Ghaffar Khan
Network Layer
Network Layer
Ghaffar Khan
Input And Output
Input And Output
Ghaffar Khan
Surfaces
Surfaces
Ghaffar Khan
Vector Tools
Vector Tools
Ghaffar Khan
Drawing Tools
Drawing Tools
Ghaffar Khan
Drawing Figures
Drawing Figures
Ghaffar Khan
Computer Graphics Introduction
Computer Graphics Introduction
Ghaffar Khan
Mehr von Ghaffar Khan
(20)
World is beautiful ... ...
World is beautiful ... ...
My Presentation On Ajax
My Presentation On Ajax
Sorting
Sorting
How A Computer Works
How A Computer Works
For Loop
For Loop
Exponential and Logarthmic funtions
Exponential and Logarthmic funtions
Exponential and Logarthmic funtions (1)
Exponential and Logarthmic funtions (1)
Functions
Functions
Quadratic And Polinomial Function
Quadratic And Polinomial Function
Quadratic And Polinomial Function
Quadratic And Polinomial Function
Exponentioal And Logarthmic Functions
Exponentioal And Logarthmic Functions
Internet Protocol
Internet Protocol
Introduction to Computer Networks
Introduction to Computer Networks
Network Layer
Network Layer
Input And Output
Input And Output
Surfaces
Surfaces
Vector Tools
Vector Tools
Drawing Tools
Drawing Tools
Drawing Figures
Drawing Figures
Computer Graphics Introduction
Computer Graphics Introduction
Kürzlich hochgeladen
How to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
naman860154
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
Paola De la Torre
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Gabriella Davis
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
Rafal Los
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
Safe Software
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
wesley chun
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
hans926745
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
Delhi Call girls
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
Pooja Nehwal
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
Sinan KOZAK
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
Principled Technologies
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
Results
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Katpro Technologies
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
Delhi Call girls
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
Martijn de Jong
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
debabhi2
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
ThousandEyes
Kürzlich hochgeladen
(20)
How to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
Control Structures
1.
Control Structures A
Lecture By Abdul Ghaffar Khan
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
The if-else
statement: (Example 7.3 Quadratic Equation )
14.
The if-else
statement: (Example 7.3 Quadratic Equation ) #include <stdio.h> #include <conio.h> #include <math.h> void main(void) { int a, b, c; double d, x1, x2; //clrscr(); printf("Input a="); scanf("%d",&a); printf("input b = "); scanf("%d",&b ); printf("input c = "); scanf("%d",&c ); d = b*b -4*a*c; if (d<0) { printf("Roots are not real"); printf("Enter some other values of a, band c"); } else { x1 = ( -b - sqrt( d )) / (2 * a); x2 = ( -b + sqrt( d )) / (2 * a); printf("First Root is %.2f",x1); printf("Second Root is %.2f",x2); } getch(); }
15.
16.
17.
18.
Example 7.4
19.
20.
21.
22.