Module main() // Local variables Declare Integer feet // Get feet Call getFeet(feet) // display inches Call showInches(feet) End Module // The getFeet mount module gets number of feet Module...


Module main()


// Local variables


Declare Integer feet



// Get feet


Call getFeet(feet)



// display inches


Call showInches(feet)



End Module



// The getFeet mount module gets number of feet


Module getFeet(Integer Ref inputFeet)


            Display “Enter number of feet:  “


            Input inputFeet


End Module



// The showInches module displays feet to inches


Module showInches(Integer feet)


Declare Integer inches


      Set inches = calcInches(feet)


Display "Feet to inches: ", inches


End Module



// The calcInches function accepts feet and returns inches.


Function Integer calcInches(Integer feet)


Declare Integer result


      Set result = feet * 12


      Return result


End Function


flowchart for this please



Jun 06, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here