Untitled
Anonymous
plain_text
12/30/2023 5:25 PM
244 B
19
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