You are hungry, so you start preparing dinner.

Your dinner consists of N food items.

Each food item can be an apple, a banana, or a curry.

The order in which you eat them does not matter.

Calculate the number of possibilities for dinner.

For N = 3, there are 10 possibilities:

AAA, AAB, AAC, ABB, ABC, ACC, BBB, BBC, BCC, CCC

i thought that if N=3 then will be n*n*n way to arrange dinner??