SEMESTER 1ST AND 2ND (1ST YEAR) – PROGRAMMING WITH "C" (2418101)
Introduction to algorithm.
What is a program?
1. A program is a set of instruction that are grouped together to accomplish a task or tasks.
2. We can also say that a computer program is a sequence of instruction that are written using a computer programming language like C, C++ , JAVA to perform a specified task by the computer.
3. Computer is a computational device that is used to process the data under the control of a computer program.
4. Example: -
main()
{
Clrscr();
printf(“Welcome to the world of programming”);
getch();
}
5. Each single line, in the above program is called an instruction or a statement.
6. The process of writing a program to solve the given problem is called programming.
Previous
NextNotion of an algorithm. Notes Video References
No references available right now.
Comments & Reviews
Loading comments...
