InstagramTwitterSnapChat


 
وصف

العودة   منتديات سكاو > الكليات الجامعية > منتدى كلية الحاسبات وتقنية المعلومات > المنتدى العام لكلية الحاسبات وتقنية المعلومات
التسجيل مشاركات اليوم البحث
   
   


المنتدى العام لكلية الحاسبات وتقنية المعلومات قسم خاص بالمواد العامة و الطلاب غير المتخصصين بكلية الحاسبات وتقنية المعلومات

تدرس / تدرسي java او++ c وعندك سؤال .. تعـال / تعالي هنا

المنتدى العام لكلية الحاسبات وتقنية المعلومات

إضافة رد
 
أدوات الموضوع إبحث في الموضوع انواع عرض الموضوع
منتديات طلاب وطالبات جامعة الملك عبد العزيز منتديات طلاب وطالبات جامعة الملك عبد العزيز
  #1  
قديم 27-10-2009, 04:15 AM

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

جامعي

 
تاريخ التسجيل: Oct 2009
نوع الدراسة: إنتظام
الجنس: أنثى
المشاركات: 1
افتراضي رد: تدرس / تدرسي java او++ c وعندك سؤال .. تعـال / تعالي هنا


السلام عليكم .. انا طالبه في كلية بسلطنة عمان
وعندي مشكلة في ++c شو ما سويت ما قادره استوعب شئ نقرتين لعرض الصورة في صفحة مستقلة
وقررت اني اجمع اوراق الاختبارات السنوات الي طافت واحاول احلها بس ما قدرت احل شئ نقرتين لعرض الصورة في صفحة مستقلة

ياريت تساعدوني احل بعض الاسئلة بليييييز ما باقي على الاختبار شئ

السؤال الأول :
Write a C++ program that uses a function called
calcPay( ) to calculate the total wages of an employee. The total wages are calculated as follows. Total wages= (number of hours worked in a week*hourly pay rate) + vehicle allowance. Get the values of the total number of hours worked and the vehicle allowance from the user. Assume that the Hourly pay rate is R.O.7

السؤال الثاني
Write a C++ program that calculates and displays the charges for a person‟s stay in a hotel. First, the program should ask if the user wants a normal room or a deluxe room. If the user selects a
normal room, the following charges apply.
 R.O. 25 per day of stay in the hotel.
 R.O 10 per day for Breakfast and Lunch
 R.0. 5 for service charges.(fixed for all days)
If the user selects a
deluxe room, the following charges apply.
 R.O. 35 per day of stay in the hotel.
 R.O 15 per day for Breakfast and Lunch
 R.0. 5 for service charges.(fixed for all days)
The program should use two
functions to calculate the total charges. Both the functions should accept the number of days of stay and then calculate and display the total charges.

السؤال الثالث
Write a C++ to find out the area of a Circle. The program should have
a. The class should have three attributes – x,y (centre) and radius.
b. The class should contain two methods- getData(), cirArea() and cirCum().
c. getData() method initializes three variables x,ye and radius.
d. cirArea() calculates the area of the Circle using the formula
area= r
2

e. The
cirCum() method should calculate the circumference of the Circle using the formula circumference=2r.
The main method should create an object of the class and call the above functions to check their functionality.

الملفات المرفقة
نوع الملف: doc c++.doc‏ (89.0 كيلوبايت, المشاهدات 15)
نصائح مهمة : 1 - إفحص الملف المرفق بأي برنامج مضاد للفيروسات
2 - قم بمراسلة الإدارة عن أي مرفق يوجد به فيروس
3 - المنتدى غير مسوؤل عن مايحتويه المرفق من بيانات

التعديل الأخير تم بواسطة samsoom ; 27-10-2009 الساعة 04:36 AM.
رد مع اقتباس

 

إضافة رد


تعليمات المشاركة
لا تستطيع إضافة مواضيع جديدة
لا تستطيع الرد على المواضيع
لا تستطيع إرفاق ملفات
لا تستطيع تعديل مشاركاتك

BB code is متاحة
كود [IMG] متاحة
كود HTML معطلة

الانتقال السريع

 


الساعة الآن 05:01 AM


Powered by vBulletin® Version 3.8.9 Beta 3
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Ads Organizer 3.0.3 by Analytics - Distance Education

أن كل ما ينشر في المنتدى لا يمثل رأي الإدارة وانما يمثل رأي أصحابها

جميع الحقوق محفوظة لشبكة سكاو

2003-2025