LAB6_11
#include <iostream>
using namespace std;
int main() {
int i = 0 , j=1 ;
int a[20];
while (true){
if(((j % 13 == 0 ) or ( j % 17 == 0 )) && j>=300){
a[i] = j;
i++;
j++;
}
else{
j++;
}
if (i == 20) {
break;
}
}
for ( int i = 0 ; i<=19; i ++){
cout << i+1 << " = " << a[i] << endl ;
}
cout << "============================" << endl ;
return 0;
}INFO