Question: C programming help! Write a program using scanf and printf that reads the number of bandits and the amount they want to divide and prints
C programming help!
Write a program using "scanf" and "printf" that reads the number of bandits and the amount they want to divide and prints how much each bandit will get when the amount is divided equally among them. The input is two positive integers and the output will be a single line Each bandit will get $., where is the integral amount allotted to each bandit.
Example of input: 11 20000
Corresponding output: Each bandit will get $1818.
Example of input: 13 100000
Corresponding output: Each bandit will get $7692.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
