اذهب إلى المحتوى

Basil Rizeigat

الأعضاء
  • المساهمات

    7
  • تاريخ الانضمام

  • تاريخ آخر زيارة

آخر الزوار

لوحة آخر الزوار معطلة ولن تظهر للأعضاء

إنجازات Basil Rizeigat

عضو مبتدئ

عضو مبتدئ (1/3)

5

السمعة بالموقع

  1. ما الخطأ في الكود ، اريده ان يطبع العناصر على شكل قائمة، من اجل ان يطبع القائمة وبعدها يعكس العناصر، علما انه يطبع فقط العنصر الاخير في القائمة، سوف ارفق لكم نص السؤال وهو :Write a program that starts off with an empty list, then prompts the user to enter the number of elements he wants to add to the list, then let the user add the elements to the list, your program should print the list then print it reversed This is how your output should be : Enter the number of elements in the list : 4 Enter the elements : January February March April Your list is [January , February, March, April ] Your reversed list is [April, March, February, January] note: {underlined words means user input}
  2. لم افهمك جيدا اخي هل تستطيع حل هذا السؤال مع عمل لقطة شاشة له ؟؟
  3. Using While loop - Employees are paid on a company that provides a salary based on their number of years of work experience. For example, a beginning employee might be paid $20,000 the first year. For each year of experience after this first year, up to 12 years, the teacher receives a 2% increase over the preceding value. Write a program that displays a salary schedule. The inputs are the starting salary, the percentage increase, and the number of years in the schedule. The output shows list of [the year ] and [the salary for that year.] ما الخطأ في الكود علما انه يعطيني نفس salary لكل سنة ؟
×
×
  • أضف...