How could I get a program to check if a numbered entered it twice as big as the second number entered.
For example,
If i enter 20 for my first number and 10 for my second number what kind of code would I write for this I know it simple but I am having trouble.
What I was thinking was this but I figured out it was just multiplying my first number by two. So I just need figure out how I can make it check if x is double the amount of y