






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







Lab NO.
About the basic theory, background of the contents, keywords, tools, functions etc. To perform simple task expressing some key functions and syntax usage. To write the table of “2” and show is as Output in Command Prompt console.
C++ Development C++ is a general-purpose programming language and widely used nowadays for competitive programming. It has imperative, object- oriented and generic programming features. Personal development environment on your local machine you need to install two important software’s:
1. Text Editor: Text Editors are type of programs used to edit or write texts. We will use text-editors to type our C++ programs. The normal extension of a text file is (.txt) but a text file containing C++ program should be saved with ‘.CPP’ or ‘.C’ extension. Files ending with the extension ‘. 2. C++ Compiler: Once you have installed text-editor and typed and save your program in a file with ‘. CPP ’ extension, you will need a C++ compiler to compile this file. A compiler is a computer program which converts high-level language into machine understandable low-level language. 3. #include: In C++, all lines that start with pound (#) sign are called directives and are processed by preprocessor which is a program invoked by the compiler. The #include directive tells the compiler to include a file and #include
In this task we write some line but in the end of every line use “endl” then output displayed the every separate line
We have performed our all task carefully and successfully with the required task gave us by instructor.
Lab NO.
Now that we have outputted a variable and have also outputted things using multiple cout. Let’s take a closer look at cout again.
We print this with in a single line with the use of multiple operations like this Input and Output:
Output:
We have performed all the task carefully and also a successfully.