Untitled

 avatar
unknown
plain_text
a year ago
273 B
0
Indexable

#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