0% found this document useful (0 votes)
77 views6 pages

Job Sheet PC++

The document outlines the steps to create and run a basic C++ program to calculate the sum of two integers: 1) Open a C++ source file, 2) Write the program code, 3) Run and compile the project, 4) Save the file, 5) Execute the program, 6) Enter input values, and 7) View the output sum. It then asks how compilation and program execution work in C++ and provides an overview of C++ as an object-oriented programming language developed from C that allows both procedural and object-oriented coding styles.

Uploaded by

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

Job Sheet PC++

The document outlines the steps to create and run a basic C++ program to calculate the sum of two integers: 1) Open a C++ source file, 2) Write the program code, 3) Run and compile the project, 4) Save the file, 5) Execute the program, 6) Enter input values, and 7) View the output sum. It then asks how compilation and program execution work in C++ and provides an overview of C++ as an object-oriented programming language developed from C that allows both procedural and object-oriented coding styles.

Uploaded by

AkidIerah
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

JOB SHEET PROGRAMMING C++

1. Open programming C++

2. Select new source file

3. Write this program.


/* This is a program that computers the sum of two integer number */
#include<iostream.h>
Main()
{
Int X , Y , sum ;
Cout<<\nEnter first number:;
Cin>> X;
Cout<<\nEnter second number:;
Cin>> Y;
Sum = X+Y;
COUT<<\nsum=<<sum;
Return 0;

4. Run the project

5. Save the file under project 1

6. Compilation completed

7. Execute the program

8. Insert the data

9. Result

Question
1. How to
a. Compilation process .

b. Execute the program .

2. What is C++ programming.

C++ is an object oriented programming (OOP) language, developed by Bjarne Stroustrup, and is
an extension of C language. It is therefore possible to code C++ in a "C style" or "object-oriented
style." In certain scenarios, it can be coded in either way and is thus an effective example of a
hybrid language.
C++ is a general purpose object oriented programming language. It is considered to be an
intermediate level language, as it encapsulates both high and low level language features.
Initially, the language was called 'C with classes as it had all properties of C language with an
additional concept of 'classes. However, it was renamed to C++ in 1983.
It is pronounced "C-Plus-Plus."

CONCLUSION :I learn and study how to made the program use c++ programming

You might also like