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

ارجوكم حاولوا تحلوا لي هالسؤالين الآن ..

مغلق
بدأه فهموني في 30 مايو 2004 · 0 رد · 308 مشاهدة · في ارشيف قسم C/C++
مشاركة: واتساب X فيسبوك تيليجرام
#1

انا طالبة مبتدءة في البرمجة اتمنى تساعدوني بحل هالسؤالين اذا كنتم موجودين الآن لان آخر موعد للتسليم هو اليوم بعد ساعه

يارب ماتخيبوني

بلييييييييز

السؤال الاول:

use asingle subscripted array to solve the following problem .Read in 20 numbers ,each of which is between 10 to 100, inclusive .as each number is read , print it only if it is not a duplicate of a number already read.provide for the "worst case " in which all 20 numbers are different . use the smallest possible array to solve this problem

السؤال الثاني:

use a double -subscripted array to solve the following problem .Acompany has four sales -people(1 to 4) who sell five different products (1 to 5) . once aday each sales person passes in aslip for each different type of product sold . each slip contains

1. the sales person

2.the product number

3. the total dollar value of the product sold that day

Thus , each salesperson passes in between 0 and 5 sales slip per day - assume that the information from all of the slips for last month is available . write a programme that will read all this information for last month's sales and summarize that total sales by salesperson by product . all totals should be stored in the double -subscripted array sales . After processing all the the information for last month , print the results in a tabular format with each of the colmns representing a particular sales person each of the rows represnting a particular product .cross total each row to get the total sales of each product for last monthe ; cross total each column to get the total sales by salesperson for last month. your tabular print out should include these cross totals to the right of the totaled rows and to the bot-tom of the totaled columns

__________________

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

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