টপিকঃ জেনারেল পারপাস কুকিং মেশিন
//pseudocode
//here serve is food amount. For how many people
food cook(int serve)
{
parallel thread one
get follwings to mixing chamber 1
(serve * rice_constant ) grams from cartage_1
(serve * bean_constant ) grams from cartage_2
(serve * bean_constant ) grams from cartage_3
(serve * vegi_constant ) grams from cartage_4
mix it for s1 seconds
thread end
parallel thread two
get (surve * oil_constant)ml type 2 oil
heat at t1 degree temperature using microwave for s2 seconds
upon completion of thread one
transfer mixing chamber content to frying chember
steer in pattern omega5
keep heat on for (serve * s2_constant + s3_constant) seconds in frying chamber uisng electric heater
thread end
on parralle thread three
get (surve * water_constant) water to boil chamber 1
heat to t2 degree temperature using microwave
upon completion of thread two
transfer ontent from frying chember to boiling cember
keep heat on for (surve * s4_constant + s5_constant) seconds in boinling chamber using electric heater
transfer to output chamber
done, send confirmation vis SMS
thread end
}