You are on page 1of 5

1) WAP to input 

principal, rate and time and calculate SI.

START

INPUT PRINCIPAL, RATE, TIME

SIMPLE INTEREST = (PRINCIPAL*RATE* TIME)/100

PRINT SIMPLE INTEREST

STOP

2) WAP to find profit when C.P & S.P are to be taken as input.

START

INPUT C.P., S.P.

PROFIT= S.P.-C.P.

PRINT PROFIT

STOP
3) WAP to input sides of a triangle and print its perimeter.
4)

START

INPUT SIDE1, SIDE2, SIDE3

PERIMETER= SIDE1+SIDE2+ SIDE3

PRINT PERIMETER

STOP

5)  WAP to calculate area & circumference of a circle whose diameter is to be taken


as input.
START

INPUT d

CIRCUMFERENCE= πd

AREA= π(d/2) 2

PRINT CIRCUMFERENCE, AREA

STOP
6) Find speed when Distance and Time is taken as input.

START

INPUT DISTANCE, TIME

SPEED= (DISTANCE/ TIME)

PRINT SPEED

STOP

1. WAP to input any number and print its square and cube.
START

INPUT NUMBER

SQUARE = NUMBER*NUMBER

CUBE = NUMBER*NUMBER*NUMBER

PRINT CUBE, SQUARE

STOP

2.  WAP to input salary of an employee and print the income tax which is 20% of salary.

You might also like