find the sum of numbers until the number itself, the factorial of the number, and the ratio of the factorial to the sum with 1 fractional number. by using functions in the C language. For example, if the student enters 10, the program should display: The sum of numbers until 10: 55The factorial of 10 is: 3628800The ratio of the factorial to the sum for the number 10 is: 65978.2
If the user enters a negative number, the program should continuously ask the user to enter a non-negative number. Note that 0 is a valid integer.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.