PSP Solution
PSP Solution
PSP Solution
#include <stdio.h>// these are header files which contains some predefined functions in
them
{//scope
printf("Enter the number : "); // this function is used to display the output
} //scope
An algorithm is step by step procedures or set of rues that defines how program is to be
executed. It is often
Step 1: Start
Step6: Print c.
Step7: Stop.
Tokens in C language are the smallest elements or the building blocks used to construct a C
program. C tokens are of 5 types, and they are classified as: Identifiers, Keywords,
Keywords - Keywords are predefined, reserved words in C and each of which is associated with specific
features. These words help us to use the functionality of C language. They have special
Identifiers - Each program element in C programming is known as an identifier. They are used for naming
of variables, functions, array etc. These are user-defined names which consist of alphabets,
Literals - Literals are the Constant values that are assigned to the constant variables. Literals
Operators - An operator is simply a symbol that is used to perform operations. There can be many types