الفريق العربي للبرمجةأرشيف المنتديات · 2000 – 2023
نسخة أرشيفية للقراءة فقط — التسجيل والمشاركة مغلقان، والمحتوى محفوظ كما كان.

[مخالف]ياأهل البرمجه الفزعه أبغى حل ؟

مغلق
بدأه صوت العلم في 12 أبريل 2007 · 3 رد · 469 مشاهدة · في الأسئلة المجابة
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

السلام عليكم ورحمة الله وبركاته

أنا العضوة الجديدة صوت العلم

ادرس برمجة حاسب سنه اولى

بس ماني فاهمه اي شي

وأستاذتنا اعطتنا تمارين وماعارفه احلهم بليز ساااااااااااااعدوني

مين يقدر يحل البرامج الثلاث ويشرح لي

ملاحظه:

لازم تكون جميع البرامج يوم الجمعه جاهزه لأن التسليم يوم السبت.

البرنامج الاول :

//account.cpp

#include <iostream>

using std::cout;

using std::cin;

using std::endl;

using std::fixed;

#include <iomanip>

usig std::setprecision;

int main()

{

int account number;//customers account number

double balance ; // customers balance

double charges; // charges on the account

double credits; //credits to the account

double limit; //credit limit on the account

cout <<"Enter account number (-1 to end):"<<fixed;

/*write code to read the customer's account number here */

/* begin loop here */{

/*prompt and read the customer's balance here*/

/*prompt and read the customer's charges here*/

/*prompt and read the customer's credits here*/

/*prompt and read the customer's credit limit here*/

/*calculate the new customer's balance here*/

/* determine if customer's credit limit is exceeded*/

/* if customer's limit is exceeded print message */

cout <<"\nEnter account number (-1 to end):";

/*write code to read the customer's accounter number here */

} //end while loop

cout<< endl; //endsure all output is displayed

return 0;

} //end main

الله يخليكم ساعدوني

البرنامج الثاني :

//wagecalculator.cpp

#include <iostream>

using std::cout;

using std::cin;

using std::endl;

using std::fixed;

#include <iomanip>

usig std::setprecision;

int main()

{

/*declareprogram variables here */

cout<< "Enter hours worked (-1 to end):"<<fixed;

cin>> hours;

/*write code to begin loop here */ {

/* write code here to prompt and input hourly rate*/

/* write code here to determine if hours worked are less than or equal to 40 and if so,calculate base pay.

if not , calculate base + overtime pay */

cout <<"salary is $"<< setprecision (2)<<salary

<<"\n\nEnter hours worked (-1 to end):";

cin >>hours ;

}

return 0;

}

تكفوووووووووووووووووووون

البرنامج الثالث:

بكره انزله

وشكرا..

#2

انا عارفه انكم قدها والا ماكان ارسلت لكم وطلبت النجده

الله يخليكم ساااااااااااااااااعدوني

وانا مادخلت الموقع هذا الا اريد اتعلم اللغه صح ....

بليز

#3

طيب والله يا انت ما تبين تكلفين على نفسك ابد !

طيب كل برنامج وش فكرته وش قصة امه وش المطلوب من كل سؤال؟

اشرحي زين وقولي وين المشكلة وبعدين ابشري باللي يساعدك

#4

تأسف إدارة الفريق العربي لغلق الموضوع وذلك لمخالفته قوانين المشاركات. فقرة اختيار عنوان مناسب لمحتوى الموضوع.

قواعد طرح المشاركات

/index.php?showtopic=29343

لا إله إلا الله محمد رسول الله

busbar : يجب ان تدرك انه هناك حد ادنى للمعرفة المطلوبة قبل البدء في عمل أي شئ.

هذا الموضوع مغلق.

مواضيع مشابهة