Question: Question: Computer Science Homework In C Write A Program In C That Prompts The User To Give A Number. The Program Will Print Out Each
Question:Computer Science Homework In C Write A Program In C That Prompts The User To Give A Number. The Program Will Print Out Each
computer science homework in C
write a program in C that prompts the user to give a number. The program will print out each number from 0 until the number that the user inputted. If the number is divisible by 3, the program will print 3div. If the number is divisible by 5, the program will print 5div. If the number can be divided by both 5 and 3, type 3n5div.
example: (pretend 5 is inputted)
output:
1
2
3div
4
5div
(end, thanks :) )
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
