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