0% found this document useful (0 votes)
2 views5 pages

Op Control Structures

Operators are symbols used to perform various operations, including arithmetic, logical, and bitwise operations. Control structures manage the flow of a program based on conditions, with common types being if-else and switch. The if-else structure executes code based on whether a condition is true or false.

Uploaded by

nan.shinde0927
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views5 pages

Op Control Structures

Operators are symbols used to perform various operations, including arithmetic, logical, and bitwise operations. Control structures manage the flow of a program based on conditions, with common types being if-else and switch. The if-else structure executes code based on whether a condition is true or false.

Uploaded by

nan.shinde0927
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Operators

* Operators are like manipulators.


* It is a special term given to the symbols which can be used to perform
different types of operations.

* There are different types of operators:


-> Arithematic operators
-> Logical operators
-> Bitwise operators, etc.
Control Structures

* These are fundamental components which are used to control the


flow of the program depending on different conditions.

* There are two types of control structures:


-> If-else
-> switch
if-else

* if-else are type of control structures which are used to control the
flow of the program.

* The syntax for if-else is:

* Working
-> When the condition evaluates to "True", the code block under
"if" executes, otherwise the code block under "else" executes.

You might also like