Question: An integer n is divisible by 9 if the sums of its digits are divisible by 9 . Develop a program to determine if the

An integer n is divisible by 9 if the sums of its digits are divisible by 9. Develop a program to
determine if the number entered is divisible by 9. Starting with the rightmost digit use the
modulo operator to isolate each digit and in the process get the sum of the digits. After all
digits are added together determine if this number is divisible by 9. All numbers entered will
have 6 digits. in C

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!