• Cours
  • Compilateur de code
  • Discuter
  • Tarification
  • Équipes
Menu

Discussions Q&R

Can x*x (double) be negative?
c++compilerdoubleparadox
1 Vote
3 Réponses
4th Dec 2017, 11:15 PM
Гриша Ахременко
Гриша Ахременко - avatar
def square (x): return x*x def test(func,x): print(func(x)) test (square,42)
functions
2 Votes
3 Réponses
6th May 2018, 4:10 PM
Rohit Singh
Rohit Singh - avatar
#include <stdio.h> #define sqr(x) x*x int main() { printf("%d",sqr(3+1)); return 0; }
cmacro
4 Votes
2 Réponses
17th Sep 2020, 11:20 AM
Shaktirajsinh zala
Shaktirajsinh zala - avatar
#include <stdio.h> #define square(x) x*x int main() { int i=(28/square(4)); printf("%d",i); return 0; }
define
0 Vote
2 Réponses
1st Sep 2020, 10:42 AM
Rohit Ahuja
Rohit Ahuja - avatar
what is going on why is it not squaring def square(x): return x*x def test(square, x): print(x) test (square, 12)
functionspython
1 Vote
3 Réponses
23rd Oct 2016, 2:37 AM
toygrill11
Hi, I want to create a function in CS that tests a number. If it is positive, the function calculate its square (x²)but if.....
c#callingupthefunctionfunctionifnegativepositivex*xx*x*x
0 Vote
5 Réponses
22nd Dec 2020, 12:22 PM
Elia John
Elia John - avatar
how to initiate e^x in c program, like x^2 as x*x?
asce^xhowininitiateliketox*xx^2
1 Vote
4 Réponses
13th Apr 2018, 4:53 PM
Anand Wanve
Anand Wanve - avatar
Aujourd'hui en vedette
What?
1 Votes
Pull resistors
1 Votes
AI video creation
3 Votes
Sololearn chat en Español
1 Votes
Python
0 Votes
How to add image and audio
1 Votes
About create tuples [Solved]
0 Votes
I'm confuse with this \n
1 Votes
HTML
0 Votes
Missing]
0 Votes