traffic lights program (Delphi)



var lampu:string;
begin
   lampu:=’hijau’;        
   if lampu=’merah’ then
     write('stop')
   else
   if lampu=’kuning’ then
     write('ready')
   else
     write('go');        
end.

2 comments:

Anonymous said...

I'm amazed, I must say. Rarely do I encounter a blog that's both educative and amusing, and
let me tell you, you have hit the nail on the head.
The issue is something not enough folks are speaking intelligently about.
I am very happy that I stumbled across this in my hunt for something concerning this.



Also visit my site: matt

Anonymous said...

I'm not sure where you are getting your information, but good topic.
I needs to spend some time learning much more or understanding more.
Thanks for fantastic information I was looking for this info for my mission.


Also visit my web page - cindy (korando.kz)