Курсы
ВойтиНачать изучение ИИ
Курсы
ВойтиНачать изучение ИИ

Обсуждения

Can x*x (double) be negative?
c++compilerdoubleparadox
1 голос
3 ответов
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 голосов
3 ответов
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 голосов
2 ответов
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 голосов
2 ответов
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 голос
3 ответов
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 голосов
5 ответов
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 голос
4 ответов
13th Apr 2018, 4:53 PM
Anand Wanve
Anand Wanve - avatar
Актуальное сегодня
I have finished first in Saturn League 3 times in a row, why have I not been given the badge for “Intergalactic Champion”
4 Votes
Python intermediate help with dictionaries
0 Votes
Marquee
1 Votes
Fill in the blank to declare a static variable.
0 Votes
What are the advantages and disadvantages of using let vs var when declaring variables in JavaScript?
0 Votes
Any Advise?
1 Votes
RUST'S FUTURE
1 Votes
Popsacles Aufgabe
1 Votes
How far do courses go on Sololearn?
0 Votes
Question #2: "Please activate your account and keep learning to enable messaging. An email has been sent to you"
1 Votes