Documente Academic
Documente Profesional
Documente Cultură
LABORATORAY MANUAL
Name:…………………………
SEMESTER-
LAB ENGINEER:
Here, select the "Settings" tab, and within it, the "Code Generation" tab. There, in "Language
standard (-std)" select "ISO C++ 11":
As an example, try:
Then:
And save it with some file name with a .cpp extension, such as example.cpp.
If you get an error on the type of x, the compiler does not understand the new meaning given
to auto since C++11. Please, make sure you downloaded the latest version as linked above, and
that you enabled the compiler options to compile C++11 as described above.
Objective
Program Check Even/Odd using If, Else statement
Code
Precautions
Objective
Program To find the Grades by using If, Else Statement
Code
Precautions
Objective
Program To Find Average by Arithmetic Operators
Code
Precautions
Objective
Program To find Percentage by Arithmetic Operators
Code
Precautions
Objective
Program To Find Greater Number
Code
Precautions
Objective
Program to Use multiple operations to make a Calculator Using Switch
Statements
Code
Precautions
Apparatus
Dev C++, Operating System, Computer.
Objective
Program to Check the Alphabet if “It is Vowel?” by Using Logical
Operators
Code
Precaution
Apparatus
Dev C++, Operating System, Computer.
Objective
Program To find Factorial of Any Number Using Loop Statement
Code
Precaution
Apparatus
Dev C++, Operating System, Computer.
Objective
Program To Sum, Subtract, Multiply and divide numbers using if
statement.
Code
Precaution
Apparatus
Dev C++, Operating System, Computer.
Objective
Program to Add two numbers Using Functions.
Code
Precaution
Apparatus
Dev C++, Operating System, Computer.
Objective
Program to Draw Pascal's triangle
Code
Precaution
Apparatus
Dev C++, Operating System, Computer.
Objective
Program to display Floyd's Triangle.
Code
Precaution
Apparatus
Dev C++, Operating System, Computer.
Objective
Program of Passing by reference using pointers to Swap Numbers.
Code
Precaution