Untitled

mail@pastecode.io avatar
unknown
plain_text
2 months ago
273 B
0
Indexable
Never

#include <iostream>
using namespace std;
int main()
{
  double k, b;
  cin >> k >> b;
  for(double x = 0; x <= 100; x++){
     double y = k * x + b;
     cout << y << endl;
  }
int mas[99] = {};
 for (int i = 0; i <= 99; i++) {
cin>> mas[i];
cout << mas[i]= y << endl;
}
}
Leave a Comment