This preview shows page 1. Sign up to view the full content.
Unformatted text preview: derstand is machine
language (binary language).
A high level language is an English like language where one
instruction typically translates into a series of machinelanguage instructions.
A low level language corresponds closely to machine code
so that a single low-level language instruction translates to a
single machine language instruction. Structure of C program
/*Program to find
area and perimeter of Circle */
#define PI 3.1415
float a, p;
printf(“Enter radius : “);
a = area();
p = perimeter();
printf(“Area of Circle : %f”,a);
printf(“Perimeter : %f”,p);
return (PI * radius * radius);
return (2 * PI * radius);
} Documentation Section
Global Declaration Section Main Function Section
Local Declaration Part
Executable Code Part
Executable Sub Program Section
FunctionN() Program Development Steps
1)Statement of Pr...
View Full Document
This note was uploaded on 11/15/2011 for the course ECKOW 123 taught by Professor Riuyt during the Spring '11 term at University of Damascus.
- Spring '11