Untitled
Anonymous
plain_text
11/10/2022 3:01 PM
332 B
13
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...