Logic Formulation
Logic Formulation
General Instructions:
Read and understand the questions properly, and carefully perform the instructions for each part
Submit this activity in the designated TASK FOLDER in NEUVLE
Final file must be submitted in PDF Format using the filename, ACT9_LastName
Operate the
calculation
End
Problem # 2 - Determine if the input number is ODD or EVEN
Algorithm Flowchart
False
number÷ True
2==0
Stop Stop
Problem # 3 - Display the computed area of a triangle, wherein the base and height are inputs from the user
Algorithm Flowchart
Step 1: Start
Step 2: Display “Enter base and Enter height” Start
Step 3: If the base height are <0, set the area to
0.5*base*height
Step 4: Print area Display “Enter base,
Step 5: End Enter height”
Print area
Stop