Professional Documents
Culture Documents
Q9
Q9
Celsius by using lambda operator. Print the result with two decimal places only.
[CO1][L1]
PAC
DATA PROCESSING OUTPUT
Input fahrenheit • Define lambda Print result
function
• Convert
Fahrenheit to
Celsius using
function
ALGORITHM
START
STEP 1: READ fahrenheit
STEP 2: Define lambda function to convert fahrenheit into Celsius using formula :
Celsius = fahrenheit -32/1.80
STEP 3: Use lambda function to convert Fahrenheit and store result in result variable
STEP 4: DISPLAY result
STOP