Gabriel has offered some chocolates to his little brother on his birthday. Each chocolate generates two wrappers. Construct a function that can represent the number of chocolates versus the number of wrappers generated and plot it on a graph.
1 | 2 | 3 |
2 | 4 | 6 |