Create a c laguange program to solve this problem. There's this new dating app that pairs two people together using math! I know it sounds boring but hear me out. When you sign up for the app, it asks you to type in your favorite number. If your favorite number happens to be divisible by another person's favorite number, the app matches both of you together and you can start the conversation from there! Now look, I'm not that good at math so I need you to check whether or not my number is divisible by some of my crushes' numbers. Thanks in advance! Input 1. Your favorite number 2. Another person's favorite number Output The first line will contain a message prompt to input your favorite number. The second line will contain a message prompt to input the other person's favorite number. The last line contains "divisible" or "not" Enter·your·favorite·number:·20 Enter·the·other·person's·favorite·number:·2 divisible
Create a c laguange program to solve this problem.
There's this new dating app that pairs two people together using math! I know it sounds boring but hear me out. When you sign up for the app, it asks you to type in your favorite number. If your favorite number happens to be divisible by another person's favorite number, the app matches both of you together and you can start the conversation from there! Now look, I'm not that good at math so I need you to check whether or not my number is divisible by some of my crushes' numbers. Thanks in advance!
Input
1. Your favorite number
2. Another person's favorite number
Output
The first line will contain a message prompt to input your favorite number. The second line will contain a message prompt to input the other person's favorite number. The last line contains "divisible" or "not"
Step by step
Solved in 4 steps with 2 images