STQS1313 Computer Programming PDF
Document Details
Uploaded by GodlikeClavichord9430
D. S. Malik
Tags
Related
Summary
These notes cover the basics of C++ programming. Topics include statements, syntax, output, variables, and other fundamental programming concepts. The document is a part of a larger course on computer programming.
Full Transcript
STQS1313 COMPUTER PROGRAMMING Adapted from C++ Programming: From Problem Analysis to Program Design, 8th edition by D. S. Malik TOPIC 2: Basic elements of C++ (Part A) 1) A computer program, or a program, is a sequence of statements whose objective is to accomplish a task. 2) Programming is a proc...
STQS1313 COMPUTER PROGRAMMING Adapted from C++ Programming: From Problem Analysis to Program Design, 8th edition by D. S. Malik TOPIC 2: Basic elements of C++ (Part A) 1) A computer program, or a program, is a sequence of statements whose objective is to accomplish a task. 2) Programming is a process of planning and creating a program. 3) Let’s do your first C++ program #include using namespace std; int main() { cout