Object Oriented Programming Expriment - 1 AIM Objective::: Experiment No:01 Algorithm and Flowchart
Object Oriented Programming Expriment - 1 AIM Objective::: Experiment No:01 Algorithm and Flowchart
EXPRIMENT -1
START
READS RADIUS
START
READS MARKS
CLACULATE GRADE
PRINT GRADE
STOP
3. COMPUTE AND PRINT THE NET PAY OF AN EMPLOYEE GIVEN THE
NUMBER OF HOURS WORKED AND THE HOURLY RATE OF PAY
main()
int rate,hours worked, net pay;
input >>hourly rate of pay;
input >>hours worked by the employee;
net pay= rate*hours worked;
output<< net pay:
START
READS RATE ,
HOURS WORKED
STOP
4. CONVERT THE TEMPERATURE GIVEN IN DEGREES FARENHEIT
TO DEGREES CElCIUS
Main()
Int c,f,temp;
Input>>f;
c=(5( F- 32) ) /9;
output<< temp in Celsius<<c;
START
READS temp in
FARENHEIT
CLACULATE TEMPERATURE
IN CELCIUS
PRINT TEMPRATURE IN
CELCIUS
STOP