✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Запишите результат выполнения программы:
#include<iostream>
using namespace std;
int main
{ int k, sample[8];
for (k=0; k<8; k++)
{ if ( k%3 == 0 ) sample[k]=k+1;
else sample[k]=2*k;
cout<< sample[k];
}
return 0;
}
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!