Untitled
Anonymous
plain_text
11/10/2022 2:53 PM
268 B
12
Indexable
#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;
}
}
Editor is loading...