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

مساعد لكتابة البرنامج بلغة ال سي + +

بدأه d12d12 في 15 يوليو 2011 · 2 رد · 457 مشاهدة · في الأسئلة المجابة
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

Problem 1:

Write a C++ program that will create two arrays A[15] and B[25]. The program will fill each

array with random numbers between 11 and 99. Then will use the following functions:

MAX : that will find maximum number in any array.

MIN: that will find the minimum number in any array

AV: will find the average of any array.

Finally, your program will compare between the MAX of arrays A and B, the MIN of arrays A

and B, the average of array A and B, and compute the average of both arrays.

Problem 2:

Use the two arrays A[20] and B[35] that you created in problem 1 and write a program that

prompts the user for a number in the range [11, 99].

If the number exists in A but not in B the program will print “Good for A—try again” and the

user will be given the chance to try another number.

If the number exists in B but not in A the program will print “Good for B—try again” and the

user will be given the chance to try another number.

If the number exists in both A and B the program will print “Winner” and ends.

If the number does not exist in A or B the program will print “Loser” and ends.

#2
#include <iostream>
using namespace std;
int main()
{
// ----> write your code over here <----
}

تفضل يا أخي.

أبدأ من هنا

وَمَا أُوتِيتُمْ مِنْ الْعِلْمِ إِلاَّ قَلِيلاً

#3

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

اخي ابدأ بالمحاولة اولا ومن ثم سيتم مساعدتك!!

.:: Wish to become better and better ::.

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