عرض مشاركة واحدة
منتديات طلاب وطالبات جامعة الملك عبد العزيز منتديات طلاب وطالبات جامعة الملك عبد العزيز
  #1  
قديم 09-05-2011, 04:56 PM

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

انتهينا وجفت الدمعة

 
تاريخ التسجيل: Nov 2009
التخصص: علمي
نوع الدراسة: تحضيري علمي خطة ب
المستوى: منسحب
الجنس: ذكر
المشاركات: 107
افتراضي طلب حل برامج بلغة السي بلس بلس محتاااجه ضروري الله يوفقكم


اسعد الله اوقاتكم بكل خير....

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

لاني والله محتاج كل درجة في ذي المادة ..

ولكم مني دعوة بظهر الغيب...



السؤال الاول/

One large chemical company pays its salespeople on a commission basis. The salespeople each receive $200 per week plus 9 percent of their gross sales for that week. For example, a salesperson who sells $5000 worth of chemicals in a week receives $200 plus 9 percent of $5000, or a total of $650. Develop a C++ program that uses a while statement to input each salesperson's gross sales for last week and calculates and displays that salesperson's earnings. Process one salesperson's figures at a time.








السؤال الثاني/


Write a program that prints the following diamond shape. You may use output statements that print either a single asterisk (*) or a single blank. Maximize your use of repetition (with nested for statements) and minimize the number of output statements.






السؤال الثالث/


Write a function that displays at the left margin of the screen a solid square of asterisks whose side is specified in integer parameter side. For example, if side is 4, the function displays the following:




السؤال الرابع/


Use a one-dimensional array to solve the following problem. Read in 20 numbers, each of which is between 10 and 100, inclusive. As each number is read, validate it and store it in the array only if it is not a duplicate of a number already read. After reading all the values, display only the unique values that the user entered. Provide for the "worst case" in which all 20 numbers are different. Use the smallest possible array to solve this problem.






تكفووون يا شبااااب الي يعرف يحل اي سؤال مو شرط كلها ...


اعرف اني ثقلت عليكم لكن وش اسوي مالي الا الله ثم انتم....


تقبلو شكري,,
رد مع اقتباس