Difficult question

" Write a program that reads two integer numbers and determine if the first number is a multiple of the second or vise versa. " yeah, can't figure out what to do as well

 
  No code
This is not a homework site. We won't do your homework for you. However we are always willing to help solve problems you encountered, correct mistakes you made in your code and answer your questions.

We didn't see your attempts to solve this problem yourself and so we cannot correct mistakes you didn't made and answer questions you didn't ask. To get help you should do something yourself and get real problems with something. If your problem is "I don't understand a thing", then you should go back to basics and study again. As it is impossible to find derivative of function without knowledge in arithmetic, you cannot do more complex tasks in programming without clear understanding of basics
Hint: use the modulo opearator (%). Look it up, it shoould not be hard.
Last edited on
Thanks @Kevin C, that's what I was missing on :)
Topic archived. No new replies allowed.