عرض مشاركة واحدة
منتديات طلاب وطالبات جامعة الملك عبد العزيز منتديات طلاب وطالبات جامعة الملك عبد العزيز
قديم 24-02-2012, 07:04 AM   #10

deathpain

devkemo

الصورة الرمزية deathpain

 
تاريخ التسجيل: Dec 2010
كلية: كلية الحاسبات وتقنية المعلومات
التخصص: Computer Science
نوع الدراسة: إنتظام
المستوى: الثامن
البلد: جــــدة
الجنس: ذكر
المشاركات: 770
افتراضي رد: ][ وللدفْرنة عُشّاق ][ cpcs203 مناقشة شابتر 7

المشاركة الأصلية كتبت بواسطة ابتسامة الاميرة مشاهدة المشاركة
السلام عليكم ورحمة الله وبركاته
سلام على الجميع ممكن احد يشرحلي ايش معنى هذي الاسئلة بدون حلول الله يسعدكم
6. Instead of always reading in 5 sales amounts, at the beginning ask the user for the number of sales people and then create an array that is just the right size. The program can then proceed as before.
بالتحديد اللي بالاحمر يعني الاري اللي حنشئها الجديدة حتكون مكملة للاري الاساسية في البرنامج
هنا جواب السؤال هذا:
http://skaau.com/vb/showpost.php?p=5427608&postcount=40

المشاركة الأصلية كتبت بواسطة ابتسامة الاميرة مشاهدة المشاركة
When you run a Java program called Foo, anything typed on the command line after “java Foo” is passed to the main method in the args parameter as an array of strings.
1. Write a program Average.java that just prints the strings that it is given at the command line, one per line. If nothing is given at the command line, print “No arguments”.
2. Modify your program so that it assumes the arguments given at the command line are integers. If there are no arguments, print a message. If there is at least one argument, compute and print the average of the arguments. Note that you will need to use the parseInt method of the Integer class to extract integer values from the strings that are passed in. If any non-integer values are passed in, your program will produce an error, which is unavoidable at this point.

وهذا السؤال لازم على الشاشة السودة ولا ينفع على الايكليبس
والميثود اللي في السؤال كيف نستخدمها

الله يخليكم ضروري لسى الباقي كمان احاول احله
هنا جواب السؤال هذا:
http://skaau.com/vb/showpost.php?p=5421803&postcount=18

بالتوفيق أختي ،،

 

توقيع deathpain  

 



في حال وجود أي استفسار أو سؤال حول الجافا CPCS202 الرجاء كتابة استفسارك مباشرة في موضوعي هنا:

تطبيق - معدلي الجامعي - التطبيق الأسهل لحساب المعدل الجامعي
http://skaau.com/vb/showthread.php?t=745520

 

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