InstagramTwitterSnapChat


 
وصف

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


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

plzzzz help meee

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

 
 
أدوات الموضوع إبحث في الموضوع انواع عرض الموضوع
منتديات طلاب وطالبات جامعة الملك عبد العزيز منتديات طلاب وطالبات جامعة الملك عبد العزيز
  #1  
قديم 29-12-2010, 10:42 PM
الصورة الرمزية dldoll

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

جامعي

 
تاريخ التسجيل: Dec 2010
نوع الدراسة: إنتظام
المستوى: الثالث
الجنس: أنثى
المشاركات: 17
Skaau.com (14) plzzzz help meee


1. Write a program that reads numbers of students(max 30), then store the student ID (serial numbers start from 1, you must fill it) ,and read from user: mid exam and final exam marks all store in arrays such as:
1
2
3
4
5
6
40
30
40
39
10
15
60
30
39
20
48
44
No. of employee = 6
id mid(max40) final(max 60)



100
60
79
59
58
59
2. And then create another array to store total marks for each student(you will fill it total=mid+final)
100
60
79
60
60
60

3. check if some students get 57,58,59, modify it to 60.
4. Print id and total arrays after modify like bellow example:

5. Using the following functions implement the program:
· Void get_data(int i[],int m[], int f[],int t[],nt no);
//no=length of the arrays
// to fill Id and total, read mid and final from the user .
· Void check_total( int t[],int no);
//to check if the total =57 or 58 or 59, then total =60
· Void display(int i[], int t[],int no);
// print id and total values .

Output:

How many student you have:6
Enter mid and final for s1:40 60
Enter mid and final for s2:30 30
Enter mid and final for s3:40 39
Enter mid and final for s4:39 20
Enter mid and final for s5:10 48
Enter mid and final for s6نقرتين لعرض الصورة في صفحة مستقلة 44
ID
total
1
100
2
60
3
79
4
60
5
60
6
60

ياريت اللي عنده فكره يساعدني
التسليم يوم السبت و احتاج احله بلييييييز نقرتين لعرض الصورة في صفحة مستقلة
رد مع اقتباس

 

 


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

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

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

 


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


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

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

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

2003-2023