Untitled

 avatar
unknown
plain_text
2 years ago
249 B
1
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...