Untitled
unknown
plain_text
2 years ago
182 B
5
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;
}
}
Editor is loading...
Leave a Comment