Advantage of Arduino

Dear All,
1.I wrote the program as attached picture and compiled well

2.sketch was generated as attached picture
3.Then I uploaded sketch file to Arduino simulator
4 The error message was generated as attached picture
Please advice

ar2.JPG