Begin
Water
Vessel_3 liter
Vessel_5 liter
Input water to vessel_3 liter
If condition finish-“ done”then input water from vessel_3 liter to vessel_5 liter
Begin
Input water to vessel_3 liter
If condition_finish-“done” then input water from vessel_3 liter to vessel_5 liter
end
While<vessel_5 liter is full> stop
Drain water from vessel_5 liter
If condition finish-“done” then input water from vessel_3 liter to vessel_5 litter
Input water to vessel_3 liter
If condition finish-“done” then input water from vessel_3 liter to vessel_5 liter
Display result
end
No comments:
Post a Comment