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

اتمنى من مبرمجين السي بلس بلس مساعدتي :(((((

مغلق
بدأه مـــــــــســك في 22 نوفمبر 2004 · 1 رد · 456 مشاهدة · في الأسئلة المجابة
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

السلام عليكم

يعطيكم العافيه

شباب ممكن مساعده في برنامج

A company has been commisioned to conduct some market research to investigate

usage of the Internet. A computer terminal is set up at a convenient location and

passers-by are interviewed. A keyboard operator inputs data according to each

interviewee’s response to the screen prompt as follows.

Do you have access to the Internet from home?

Enter Y (for yes) or N (for no).

When the response is Y a second question is asked:

Do you use email from home?

Enter Y (for yes) or N (for no).

After 100 passers-by have been interviewed, two totals are written out to the screen

together with descriptive messages, namely the total number who have access to

the Internet from home and the total number who make use of email. Typical

output might be as follows.

Of 100 interviewees :

57 have access to the Internet.

13 use email from home.

The program used is to be based on the following top-level design.

1 initialise variables

2 loop while there are more interviewees

3 process next interviewee’s response(s)

4 loopend

5 write out results

#2

نحتاج نشوف محاولاتك أول ,, الشيء الثاني بما أنك جديدة لن نغلق الموضوع هذه المرة ,, لكن رجاء ضعي عنوان للموضوع يوضح مضمونه .

banner_60_468.gif

NOTHING IS IMPOSSIBLE

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

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

عدد الزوار حالياً

المتواجدون خلال آخر دقيقتين · يتحدّث كل ٣٠ ثانية

—الإجمالي—أعضاء مسجّلون—زوار بدون تسجيل

جارٍ التحقق من المتواجدين…