مهم اريد حل واجب البرمجه 203 ضروري
اريد حله اليوم تكفووون اليوم اخر يوم لتسليمه حاولت احله ماقدرت
A company owns four stores, each of which can store four particular items. The current item stock in these stores is:
ITEMS
1 2 3 4
STORE#1 14 7 5 0
STORE#2 9 20 25 12
STORE#3 25 25 40 30
Write a program which will read the stock data in a two-dimensional INTEGER array STOCK it then determines for each store the number of items with stock below ten. You should have a method PrintStock(), this method will read STOCK and display it on the console.
Your output should be in the form:
STORE#1 14 7 5 0
STORE#2 9 20 25 12
STORE#3 25 25 40 30
NUMBER OF ITEMS WITH STOCK BELOW 10:
STORE# NUMBER OF ITEMS
1 3
2 1
3 0
التعديل الأخير تم بواسطة بن ثعلي ; 03-03-2012 الساعة 08:48 PM.
|