السلام عليكم ورحمة الله وبركاته
انا لسة جديدة على المنتدى وما بعرف اذا هاد القسم هو المناسب او لا
بس طرحت موضوعي هون
انا معي اسئلة على borland c++ حليتها بس البرنامج ما بيرضى يطبق
ولازم اسلم الحل بكرة الله يخليكم اعطوني الحل الصح
Write a program that finds the maximum and minimum integer value of a
sequence of inputted integers. The program should first prompt the user for how
many values will be entered. The program should print this value out and ask the
user to confirm this value. If the user fails to confirm the value, she must enter a
new valu
السؤال التاني....
The following code prints 100 random numbers:
int main()
{
int how_many = 100;
cout << "Print " << how_many
<< " random integers." << endl;
for (int i = 0; i < how_many; ++i)
cout << rand() << '\t';
cout << endl;
}
Add code that determines average, maximum, and minimum values generated. Note
that the rand() function is found in the C stdlib library.
الله يخليكم اعطوني الحل
وشكرا الكم
