تمرين
- اكمل على ملف التمرين السابق.
- أنشئ متغيرات بداخلها معلومات بطلك آخر. (heroName, heroHeight, heroAge, heroSuperPower1, heroSuperPower2)
- أنشئ متغير اسمه ageDifference (أي فرق العمر) و احسب فرق العمر بين البطل التي أنشأته في التمرين السابق و بين البطل هذا.
- أنشئ متغير اسمه heightCheck ,استخدم إحدى العمليات المنطقية لمقارنة طول البطل في التمرين السابق و البطل هذا.
🌟 Bonus : استخدم عمليات المقارنة لمعرفة أي من البطلين أقوى أو إذا كان لهما نفس القوة.