Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
200 B
0
Indexable
Never
#include <iostream>
using namespace std;
int main()
{
	float k, b, x, y,n,i;
	cin >> k >> b;
	cin >> n;
	for (i = 0; i < n; i++)
	{
		cin >> y;
		x = (y - b) / k;
		cout << x;
	}
	
}