Programming is the process of writing instructions (called code) to tell a computer what to do.
Just like you give step-by-step directions to a person,
In programming, you give step-by-step instructions to the computer.
A program is a set of instructions written in a programming language that a computer can understand and execute.
๐งพ Example (C++ Code):
#include <iostream>
using namespace std;
int main() {
cout << "Hello, Nikhil!";
return 0;
}
โ Output:
Hello, Nikhil!
A programming language is a way to communicate with the computer.
๐ง Common programming languages:
Each has its own rules (called syntax) and uses.