Untitled

mail@pastecode.io avatar
unknown
plain_text
2 months ago
182 B
1
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;
  }
 
}
Leave a Comment