'Performing calculations on Google Forms

I am trying to create a Google Form for an event registration. The admission charges to the event vary for the adults and children. An user can specify the number of adults and children registering for the event. Is it possible to calculate the total charge the user would need to pay for the registration. For example, the adult registration is $10 and child registration is $8. Assuming the user registers for 3 adults and 2 children, I want to display to the user that he/she would need to pay $46 ($10 x 3 + $8 x 2) for registration. Is this feasible on Google Forms. Any help would be appreciated?

Thanks Rohit



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source