LAB MANUAL - Docx 5

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

LAB MANNUAL

LAB # 5
STATEMENT # 1 :
Get temperature as input from user in degree Fahrenheit and
convert it to degree centigrade.

PROGRAM :-

OUTPUT :-
STATEMENT # 2 :
Get the two number from user and subtract the greatest one number from
the second one .

PROGRAM :-

OUTPUT :-
STATEMENT # 3 :
Make a program in which you will ask martial status, gender, age from
the user . Then a company insures its driver if it will fulfill the following
three conditions . If driver is married .If driver is unmarried and male
and his age > 30 .If driver is unmarried and female and her age >25.

PROGRAM :-
OUTPUT :-

You might also like