[go: up one dir, main page]

33% found this document useful (3 votes)
9K views3 pages

Algorithm To Convert Length in Feet To Centimeter PDF

The document provides an algorithm, flowchart, and pseudocode to convert a length in feet to centimeters. It involves declaring a variable x for the length in feet, multiplying x by 30.48 to calculate the length in centimeters, and printing or outputting the result y in centimeters. The algorithm has 5 steps, the flowchart has 6 steps including start and exit nodes, and the pseudocode has 4 steps to read the input, perform the calculation, write the output, and end the process.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
33% found this document useful (3 votes)
9K views3 pages

Algorithm To Convert Length in Feet To Centimeter PDF

The document provides an algorithm, flowchart, and pseudocode to convert a length in feet to centimeters. It involves declaring a variable x for the length in feet, multiplying x by 30.48 to calculate the length in centimeters, and printing or outputting the result y in centimeters. The algorithm has 5 steps, the flowchart has 6 steps including start and exit nodes, and the pseudocode has 4 steps to read the input, perform the calculation, write the output, and end the process.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Algorithm to Convert length in

feet to centimeter
STEP 1: Start

STEP 2: Declare x, in feet

STEP 3: Input= x feet

STEP 4: CM= x*30.48

STEP 5: Print= y cm

STEP 6: exit
Flowchart to Convert length in feet
to centimeter
START

Input length in feet

Input = “x”

Length in centimeter = Length in feet *30.48

Length in centimeter = x* 30.48

Print= “y” cm

Exit
Pseudo code to Convert length in
feet to centimeter

• Begin
• READ x in feet
• input x
• WRITE y=x*30.48
• output y is in cm
• End

You might also like