المدخل الى البرمجة الهيكلية بلغة البيسك — الصفحة ١٥٥

۱۳۷ برنامج لقراءة عدد من ١ إلى ۱۲ والذي يمثل رقم الشهر ويطبع إسم الشهر المقابل له input "give me the month number, please", month.no if not(month_no>=1 and month.no <= 12) then print "month number is invalid,try again......" stop end if if month.no = 1 then month.name$="January" elseif month.no=2 then month.name$="February" elseif month.no=3 then month.name$="March" elseif month.no=4 then month.name$="April" elseif month.no=5 then month.name$="May" elseif month.no=6 then month.name$="June" elseif month.no=7 then month.name$="July" elseif month.no=8 then month.name$="August" elseif month.no=9 then month.name$="September" elseif month.no=10 then month.name$="October" elseif month.no=11 then month.name$="November" else month.name$="December" end if
ج٢ ص١٣٧

نص مستخرج آليًا من الصورة، وقد يقع فيه خطأ.