What is the out put for:

Input Output
4 0
5 2
6 4
7 6
12 ?
explain the rule please

3 answers

Input Output
4 0
5 2
6 4
7 6
12 8
I'm not sure if this is right. I used different rules to get the answer. I need to know if there is a set rule for this kind of problem.
Why do I have to post an answer. I don't know the answer that's why I am asking for help.
We'd rather hep you solve problems than just provide answers. If you want us to verify your calculation, then tell us what you got. Even better, show what you did, so if you go wrong somewhere, we can help you understand the problem.

There are, sadly, some who just want to mooch off the efforts of the tutors, rather than do their own work.

You say you used different rules. Which ones?

Look at the initial pairs. Each time input increased by 1, output increased by 2.

That indicates that output = 2* input. But, 0 is not 2*4, so we need to subtract 8 to get the result indicated. So,

output = 2*input - 8

You can see that it works for the first 4 pairs. Now, if input is 12,

output = 2*12 - 8 = 16

You apparently noticed that the output was increasing by 2's, but you ignored the fact that 12 is not the next value after 7.