اعتقد ان حضرتك فهمت السؤال غلط
هو كان يقصد انه ياخد درجة من اليوزر ويحسب التقدير بتاعه ويقوله يقديره كام A, B , C , D ,F
بأستخدام if conditions
Grade is A , Excellent if Mark greater than or equal 85
Grade is B ,very good if Mark greater than or equal 75 and less than 85
Grade is C , good if mark greater than or equal 65 and less than 75
Grade is D Ma2bool if mark greater than or equal 50 and less than 65
grade is F if mark less than 50
اعمله كدا وان شاء الله هيشتغل تمام
__________________
اللهم انى استغفرك واتوب اليك
فأغفرلى
انه لا يغفر الذنوب الا انت
|