Untitled
unknown
plain_text
2 years ago
196 B
8
Indexable
#include <iostream>
using namespace std;
int main()
{
int k, b;
cin >> k >> b;
int mas[99] = {};
for(int x = 0; x <= 100; x++){
int y = k * x + b;
cout << mas[x]= y << endl;
}
}Editor is loading...
Leave a Comment