1. Engineering
  2. Computer Science
  3. please write a c program that will output all the...

Question: please write a c program that will output all the...

Question details

Please write a C program that will output all the odd numbers less than 5000 that are abundant. It should also output a count of how many of these numbers there are. The smallest odd number that is abundant is 945, but you should not assume you know that.

Requirements

  •  The programs must be written in C

  •  The program must have a loop that checks a sequence of numbers. That is you

    must not just hardcode the solution

THANKS!

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution