Jobsheet 5 - Nur Athirah Binti Ghazaly
-
Upload
nur-athirah -
Category
Documents
-
view
24 -
download
5
description
Transcript of Jobsheet 5 - Nur Athirah Binti Ghazaly
![Page 1: Jobsheet 5 - Nur Athirah Binti Ghazaly](https://reader036.fdocuments.in/reader036/viewer/2022072002/563db8cf550346aa9a972be0/html5/thumbnails/1.jpg)
JOBSHEET C++
1. OPEN PROGRAMMING C++
2. SELECT NEW SOURCE FILE.
![Page 2: Jobsheet 5 - Nur Athirah Binti Ghazaly](https://reader036.fdocuments.in/reader036/viewer/2022072002/563db8cf550346aa9a972be0/html5/thumbnails/2.jpg)
3. WRITE THIS PROGRAM
/* This is a program The computers the sum of two integer number */
#include <iostream>Main(){int X,Y,sum;cout<<”\nEnter first numbercin>>X;cout<<”\nEnter second number:”;cin>>Y;sum=X+Y;cout<<”\nsum=”<<sum;return 0;
4. Run the project
![Page 3: Jobsheet 5 - Nur Athirah Binti Ghazaly](https://reader036.fdocuments.in/reader036/viewer/2022072002/563db8cf550346aa9a972be0/html5/thumbnails/3.jpg)
5. SAVE THE FILE UNDER PROJECT 1
6. COMPILATION PROCESS
![Page 4: Jobsheet 5 - Nur Athirah Binti Ghazaly](https://reader036.fdocuments.in/reader036/viewer/2022072002/563db8cf550346aa9a972be0/html5/thumbnails/4.jpg)
7. EXECUTE THE PROGRAM
8. INSERT THE DATA
![Page 5: Jobsheet 5 - Nur Athirah Binti Ghazaly](https://reader036.fdocuments.in/reader036/viewer/2022072002/563db8cf550346aa9a972be0/html5/thumbnails/5.jpg)
9. RESULT
QUESTION/DISCUSSION1. HOW TO
a) COMPILATION PROCESS.
First click at the excute than you choose compile or compile & run to get the result.
![Page 6: Jobsheet 5 - Nur Athirah Binti Ghazaly](https://reader036.fdocuments.in/reader036/viewer/2022072002/563db8cf550346aa9a972be0/html5/thumbnails/6.jpg)
After you click the compile automatic the result is view as “compilation results”
b) EXECUTE THE PROCESS.
Just click the button F10 then view the execute.
![Page 7: Jobsheet 5 - Nur Athirah Binti Ghazaly](https://reader036.fdocuments.in/reader036/viewer/2022072002/563db8cf550346aa9a972be0/html5/thumbnails/7.jpg)
c) WHAT IS C++ PROGRAMMING
C++ (pronounced as cee plus plus, /ˈsiː plʌs plʌs/ ) is a general-purpose programming language.
It has imperative, object-oriented and generic programming features, while also providing
facilities for low-level memory manipulation.
It was designed with a bias toward system programming and embedded, resource-constrained
and large systems, with performance, efficiency and flexibility of use as its design highlights.[3] C+
+ has also been found useful in many other contexts, with key strengths being software
infrastructure and resource-constrained applications,[3] including desktop applications, servers
(e.g. e-commerce, web search or SQL servers), performance-critical applications (e.g. telephone
switches or space probes), and entertainment software.[4] C++ is a compiled language, with
implementations of it available on many platforms and provided by various organizations,
including the FSF, LLVM, Microsoft, Intel and IBM.