message_caption(1,"Input Data") global.hoursd=get_string("If you worked the same amount of hours for each day, type'calculator'. To access the monday, tuesday, wensday, etc option, type anything else. ","0") if ( global.hoursd == "caculator" ) { message_caption(1,"Input Data") global.hoursd2=get_integer("How many hours did you work in a day?","0") global.daysw=get_integer("How many days did you work this week?","0") global.sal=get_integer("How much money do you make per hour?","0") global.cform=global.hoursd2*global.daysw*global.sal message_caption(1,"Result") show_message("You will make " +string(global.cform) +" dollars this week") } else { message_caption(1,"Input Data") global.cash=get_integer("How much cash do you get per hour?","0") global.monday=get_integer("How many hours did you work on monday?","0") global.tuesday=get_integer("How many hours did you work on tuesday?","0") global.wensday=get_integer("How many hours did you work on wensday?","0") global.thursday=get_integer("How many hours did you work on thursday?","0") global.friday=get_integer("How many hours did you work on friday?","0") global.saterday=get_integer("How many hours did you work on saterday?","0") global.sunday=get_integer("How many hours did you work on sunday?","0") global.cform2=global.monday+global.tuesday+global.wensday+global.thursday+global.friday+global.saterday+global.sunday/7*global.cash show_message("You will make " +string(global.cform2) +" dollars this week") }