Untitled

mail@pastecode.io avatar
unknown
plain_text
2 months ago
220 B
0
Indexable
Never
#include <iostream>

using namespace std;

int main() {
	double k, b, x;
	double y;
	cin >> k;
	cin >> b;
	int mas[100] = {};
	for (int i = 0; i < 100; i++) {
		x = i;
		y = k * x + b;
		mas[i] = y;
	}
}
Leave a Comment