Y
Y
yank_allison2014-05-18 15:26:16
PHPMailer
yank_allison, 2014-05-18 15:26:16

Help solve computer science problem

Given two numbers, if the second number is greater than the first, then you need to double the second.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
SinusoiD, 2014-05-18
@yank_allison

x
y
if (y>x) y=y/2
else "what happens if otherwise"
end

Y
yank_allison, 2014-05-18
@yank_allison

Thank you!

S
Stepan, 2015-01-27
@xoma2

Well, actually it happens. I, too, was stupid with algorithms for a long time at first. And now almost like nuts.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question