Skip to main content

Posts

Showing posts with the label algorithm

Pop Corn

I will not hesitate to call myself a fan of pop corn... always had a liking for it.. one constraint on it was on the salt content of it... i dont like salty food items.. Some of the easy-to-make pop corn products were also salty... so i decided to cook(!!)/prepare pop corn myself... but dont know how to do it... so as usual googled it... found many recipes.. and ended up knowing that pop corn making is both tricky and easier... Finally decided what to do... my pop corn algorithm is as follows: procedure MakePopCorn(dry_corn_kernels) begin 1. get dry corn kernels (really they are called kernels.. nothing to do with OS) 2. apply some oil on it 3. coat oil on the vessel in which you gonna prepare 4. for (i = now; i 4.1 heat the vessel (with out corn kernels on it) 5. repeat 5.1 add the corn kernels 5.2 close it with a lid 5.3 shake the vessel // corn kernels starts popping until (stop(popping)) end the effectiveness of the above algo depe...