Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis0
HATE TO SUBTRACT
WAP to divide and multiply two numbers without using multiply divide and subtract operator
30 Respostas
+ 3
+ 17
@Art Really?!? Is your mom helping you with programming?? .... wow.... ^_^ (mine doesn't know how to mouse the cursor....)
+ 13
Write A Program == WAP
(sounds like homework...)
+ 11
(^_^ seems like another coding challenge....)
+ 9
...but can I use the exponential operator?
+ 9
JavaScript:
var x = 1, y = 2;
alert("Multiplication : " + Math.pow(Math.E, Math.log(x) + Math.log(y)));
alert("Division : " + Math.pow(Math.E, Math.log(x) + Math.log(Math.pow(y, -1))));
+ 7
I'm confused. You hate math or you want to use an operator - without using one?
+ 7
@Valentin yeah... my mom make a weekly homework for me ( a WAP homework ) using ruby or something šš
+ 7
Same here @ValentinHacker š£š£š£š«
+ 7
I like how HATE to subtract resulted in community hate and subtraction of likes š
+ 7
It has happened with me Many times ļ¼¼(;Ā“ā”ļ½)/
+ 6
listen math is important and I was same like you before but you will understand that math is very important for programming because that challenge our logic šš so be careful to say I hate subtract or math .š
+ 6
What's WAP?
+ 6
My family is full of cousins who know coding...
+ 6
@$Vengat Nice sense of humor
+ 5
@Valentin that's why I am not active in Discord any more
and I am the secretary of my class so ššš
+ 5
How pathetic you people are whining over title instead of answering with code
And some didn't even read ques properly.
+ 5
@sapphire šš advanced english
+ 5
I hate my phone more.
Lost 29XP from one lag
+ 4
Hate to subtract just seemed reasonable title bcoz the original ques only says not to use multiply and divide operator