Untitled
unknown
plain_text
3 years ago
249 B
2
Indexable
#include <iostream>
using namespace std;
//(y-b)/k
int main()
{
float y, k, x, b,n;
cin >> k >> b;
cout << "vvedite kolichestvo funkciy 'y'";
cin >> n;
x = 0;
while (n != 0) {
cin >> y;
cout << (y - b) / k;
n--;
}
}
Editor is loading...