![subject](/tpl/images/cats/User.png)
Engineering, 15.10.2019 22:20 juliashalnev
Write a method ismultiple that determines, for a pair of integers, whether the second integer is a multiple of the first. the method should take two integer arguments and return true if the second is a multiple of the first and false otherwise. [hint: use the remainder operator .] incorporate this method into an application that inputs a series of pairs of integers (one pair at a time) and determines whether the second value in each pair is a multiple of the first. har()
prompts:
enter a second number:
enter one number:
sample outputs :
enter one number: enter a second number: 49 is a multiple of 7
do you want to enter another pair(y/n)? enter one number: enter a second number: 28 is a multiple of 7
do you want to enter another pair(y/n)? enter one number: enter a second number: 42 is a multiple of 7
do you want to enter another pair(y/n)? enter one number: enter a second number: 7 is not a multiple of 42
do you want to enter another pair(y/n)? enter one number: enter a second number: 25 is a multiple of -5
do you want to enter another pair(y/n)? enter one number: enter a second number: 12 is a multiple of -12
do you want to enter another pair(y/n)? enter one number: enter a second number: 9 is not a multiple of 56
do you want to enter another pair(y/n)?
![ansver](/tpl/images/cats/User.png)
Answers: 2
Another question on Engineering
![question](/tpl/images/cats/User.png)
Engineering, 04.07.2019 18:10
What difference(s) did you notice using a pneumatic circuit over hydraulic circuit.explain why the pneumatic piston stumbles when it hits an obstacle.
Answers: 2
![question](/tpl/images/cats/User.png)
Engineering, 04.07.2019 18:10
If a particle moves along a path such that r : (3 sin t) m and ? : 2t rad, where t is in seconds. what is the particle's acceleration in m/s in 4 seconds? a)- 16.43 b)- 16.29 c)- 15.21 d)- 13.79
Answers: 1
![question](/tpl/images/cats/User.png)
Engineering, 04.07.2019 18:10
Draw the engineering stress-strain curve for (a) bcc; (b) fcc metals and mark important points.
Answers: 1
![question](/tpl/images/cats/User.png)
Engineering, 04.07.2019 18:10
You are making beer. the first step is filling the glass carboy with the liquid wort. the internal diameter of the carboy is 15 in., and you wish to fill it up to a depth of 2 ft. if your wort is drawn from the kettle using a siphon process that flows at 3 gpm, how long will it take to fill?
Answers: 1
You know the right answer?
Write a method ismultiple that determines, for a pair of integers, whether the second integer is a m...
Questions
![question](/tpl/images/cats/en.png)
English, 01.07.2019 20:00
![question](/tpl/images/cats/health.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 01.07.2019 20:00
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 01.07.2019 20:00
![question](/tpl/images/cats/himiya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 01.07.2019 20:00
![question](/tpl/images/cats/es.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/es.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 01.07.2019 20:00
![question](/tpl/images/cats/istoriya.png)
History, 01.07.2019 20:00
![question](/tpl/images/cats/himiya.png)
Chemistry, 01.07.2019 20:00
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/biologiya.png)
Biology, 01.07.2019 20:00
![question](/tpl/images/cats/mat.png)
Mathematics, 01.07.2019 20:00
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 01.07.2019 20:00