Courses
LoginStart now
Courses
LoginStart now

Q&A Discussions

Can x*x (double) be negative?
c++compilerdoubleparadox
1 Vote
3 Answers
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 Answers
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 Answers
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 Votes
2 Answers
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 Answers
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 Votes
5 Answers
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 Answers
13th Apr 2018, 4:53 PM
Anand Wanve
Anand Wanve - avatar
Hot today
Hofstadter a sequence code coach is not running
0 Votes
DSA doubt
1 Votes
Vote Code
1 Votes
the code for bigneer is not really what to do after coding begeneer in sololearn
0 Votes
Input errors (python)
1 Votes
I wanna know is that what about dot net developers in future there is possible they gonna downfall in industry
0 Votes
Without degree job
0 Votes
Data structure using C
0 Votes
Je cherche des gens qui parle français pour apprendre le langage c
0 Votes
How can I add gradient to the background
0 Votes