For this Question: Rohit's uncle gives him D chocolates for up to N days, He already has C chocolates with him if he eats one chocolate a day how many chocolates will he have at the end of N days?<b>User Task:</b>
Since this will be a functional problem, you don't have to take input. You just have to complete the function <b>Chocolates()</b> that takes integers D, N and C as parameters.

Constraints:-
1 <= D <= 100
1 <= N <= 100
1 <= C <= 100Return the number of chocolates at the end of N daysSample Input:-
5 5 5

Sample Output:-
25

Explanation:-
At the end of the First day:- 5 + 5 - 1 = 9
At the end of the Second day:- 9 + 5 - 1 = 13
At the end of the Third day:- 13 + 5 - 1 = 17
At the end of the Fourth day:- 17 + 5 - 1 = 21
At the end of the Fifth day:- 21 + 5 - 1 = 25 

Sample Input:-
1 2 3

Sample Output:-
3, I have written this Solution Code: 
int Chocolates(int D, int N, int C){
    return N*(D-1)+C;
}
, In this Programming Language: C, Now tell me if this Code is compilable or not?