عرض مشاركة واحدة
منتديات طلاب وطالبات جامعة الملك عبد العزيز منتديات طلاب وطالبات جامعة الملك عبد العزيز
  #1  
قديم 16-11-2015, 09:36 PM

Rama_15 Rama_15 غير متواجد حالياً

لم يقم بتفعيل عضويته

 
تاريخ التسجيل: Nov 2015
الكلية: كلية الحاسبات وتقنية المعلومات
التخصص: حاسب
نوع الدراسة: إنتظام
المستوى: الثالث
البلد: رابـــغ
الجنس: أنثى
المشاركات: 1
افتراضي الكل يدخل الله يرضى عليكم


فيه عندي هذا السؤال وعليه 20 درجة ف لاب البرمجة

Assignment Specifications
The Assignment can be done in a group up to 2 students. Each group must submit a program and document that
includes an explanation of the problem solving (hard & soft copy):
1. Description the way to analyze and design the problem e.g. algorithm, flowchart … etc.
2. Brief description of solutions or methods to write the program e.g. loops, switch, array … etc.
3. Source code and print screen of the output (all cases).
C. Requirement:
Write a Java program (MyRestaurant) that lists items for three menu categories:
Entree, Side Dish, and Drink. The following table lists the items available for each entry and their
prices. Choose appropriate methods for input and output sales figures. Accepts orders from
users, for each item on the menu, the program keeps track of the sales. At closing time, the
program will output the sales figure in a format similar to the following, see figure 1.
Table 1: lists of items available for each entry and their prices.
Entree Side Dish Drink
Tofu Burger $3.49 Rice donkey $0.79 Cafe Mocha $1.99
Cajun Chicken $4.59 No-Salt Fries $0.69 Cafe Latte $1.99
Buffalo Wings $3.99 Zucchini $1.09 Espresso $2.49
Rainbow Fillet $2.99 Brown Rice $0.59 Oolong Tea $0.99
Item Sales Count Total
Tofu Burger 25 $ 87.25
Cajun Chicken 30 $ 137.70
…………
…………
…………
Today’s Total Sales: $ 2761.20
Figure 1: Output

الله يسعدكم اللي يعرف الحل يكتبه محتاجته ضروري 💔
رد مع اقتباس