Hello,

I have two inputs (numbers), and output(one number) on LCD,

Input one has numbers 0-100,

Input two has numbers 0-380,

The output number is a data I have.

say input one is 50. input two is 300, the corresponding data output is 453.

I was going to use array, but that is going to be like array[100]={}; which didn't work.

And if i use 2d array, there isn't any space.

Can someone please tell me a simpler way to solve the issue?

I was thinking of a mathematical formula, but the output data is not linear.