تم الحل ✓
categoryبرمجة وتطوير البرمجيات
schoolبكالوريوس
event_available2026-07-15
السؤال
Transcribed Image Text:
Consider the following program. How many elements in array x and array y. What does .2
the program do?
#include <iostream>
using namespace std;
void main ()
int x[5] (1,4,6,5,3);
int y[5];
for (int i=0; i < 5; i++)
{
cout<< x[1];
cout<<" ";
cout<< endl;
for (int i=0; i< 5; i++)
y[i] = x[i];
cout << y[i];
cout<<"
cout<< endl;
for (int i=0; i < 5; i++)
y[i]
x[i]*i;
cout<< y[i] <<"
>
system("pause"); }
#
check_circle الجواب — حل مفصل خطوة بخطوة
hourglass_top
🔒
الحل الكامل متاح للمشتركين
اشترك في أرشيف الأسئلة لعرض هذا الحل وآلاف الحلول المفصلة خطوة بخطوة من معلمين معتمدين.