3. Combinations Write a program that calculates how many solutions in natural numbers (including zero) has the equation: ∗∗×1∗∗\+∗∗×2∗∗\+∗∗×3∗∗\+∗∗×4∗∗\+∗∗×5∗∗=∗∗n∗∗ Input - The input consists a single number - n - integer Output - Print on the console the total number of solutions
Examole
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!