js05 - mohammad hanifzam bin ahmad kamal.docx
DESCRIPTION
Job Sheet 05 - C++TRANSCRIPT
![Page 1: JS05 - MOHAMMAD HANIFZAM BIN AHMAD KAMAL.docx](https://reader036.vdocument.in/reader036/viewer/2022082822/55cf8ee7550346703b96d8a0/html5/thumbnails/1.jpg)
JOB SHEET 05 – C++
QUESTION/DISCUSSION
1) How toa) Compilation Processb) Execute the program.
Steps 1 – Open Programming C++
![Page 2: JS05 - MOHAMMAD HANIFZAM BIN AHMAD KAMAL.docx](https://reader036.vdocument.in/reader036/viewer/2022082822/55cf8ee7550346703b96d8a0/html5/thumbnails/2.jpg)
Steps 2 – Select new source file.
![Page 3: JS05 - MOHAMMAD HANIFZAM BIN AHMAD KAMAL.docx](https://reader036.vdocument.in/reader036/viewer/2022082822/55cf8ee7550346703b96d8a0/html5/thumbnails/3.jpg)
Steps 3 – Write this program.
/*this is a program that computes the sum of two integer number*/
#include <iostream.h>
#include <stdlib.h>
int main()
{
int x,y,sum;
cout<<"\nEnter first number :";
cin>>x;
cout<<"\nntr second number:";
cin>>y;
sum=x+y;
cout<<"\nsum="<<sum;
system("PAUSE");
return 0;
}
![Page 4: JS05 - MOHAMMAD HANIFZAM BIN AHMAD KAMAL.docx](https://reader036.vdocument.in/reader036/viewer/2022082822/55cf8ee7550346703b96d8a0/html5/thumbnails/4.jpg)
STEPS 4 – Run the Project.
![Page 5: JS05 - MOHAMMAD HANIFZAM BIN AHMAD KAMAL.docx](https://reader036.vdocument.in/reader036/viewer/2022082822/55cf8ee7550346703b96d8a0/html5/thumbnails/5.jpg)
STEPS 5 – Save the file under project 1 or Whatever.
STEPS 6 – Compilation process.
![Page 6: JS05 - MOHAMMAD HANIFZAM BIN AHMAD KAMAL.docx](https://reader036.vdocument.in/reader036/viewer/2022082822/55cf8ee7550346703b96d8a0/html5/thumbnails/6.jpg)
STEPS 7 – Execute the program.
STEPS 8 – Insert the data.
RESULT
![Page 7: JS05 - MOHAMMAD HANIFZAM BIN AHMAD KAMAL.docx](https://reader036.vdocument.in/reader036/viewer/2022082822/55cf8ee7550346703b96d8a0/html5/thumbnails/7.jpg)
2) What is C++ Programming A high-level programming language developed by Bjarne Stroustrup at Bell Labs. C++
adds object-oriented features to its predecessor, C. C++ is one of the most popular programming language for graphical applications, such as those that run in Windows and Macintosh environments.
CONCLUSION
In a conclusion, I have learned a lot how to using of the C++ software. C++ is a great programming language that can make programming a lot of fun.