عرض مشاركة واحدة
منتديات طلاب وطالبات جامعة الملك عبد العزيز منتديات طلاب وطالبات جامعة الملك عبد العزيز
قديم 02-10-2013, 09:29 PM   #512

emtinan

جامعي

 
تاريخ التسجيل: Sep 2013
التخصص: cs
نوع الدراسة: إنتظام
المستوى: الثالث
الجنس: أنثى
المشاركات: 3
افتراضي رد: Cpcs 202 شروحات وحلول وواجبات الجافا

تكفون ساعدوني لازم اسلم البروجيكت يوم الاحد
اي احد يعرف لا يبخل الله يجزاكم الجنه


project 1 Description:
Suppose you want to buy some computer items. The store keeper gives you some discount on the items. The store has only three items (Printers, Scanners and Key boards).
Suppose the prices per item for Printer, Scanner and Keyboard are 300, 200 and 30 respectively. When you buy the item and go to the cashier, she will ask you "How many Printers do you want to buy?" and you will ask her: "How much is the discount on the Printers?" Same for the other items (Scanners and Keyboards): "How many Scanners do you want to buy?" and you will ask him: "How much is the discount on the Scanners?" and so on.
You need to compute the price of each item before the Discount, the Discount Amount for each item, the Total Net Price for each item and then you should calculate the Total Net Price and Total Discount in Percentage for all items.

For this project you have to:

1. Write a pseudocode
2. Write an algorithm
3. Write a Java program that will simulate the following output (Note: your program should contain Constants).

 

emtinan غير متواجد حالياً   رد مع اقتباس