Курсы
Курсы
Компилятор кода
Компилятор кода
Обсуждения
Цены
Teams
Войти
Регистрация
Menu
Обсуждения
Поиск
Поиск
Задать вопрос
Задать вопрос
Can x*x (double) be negative?
c++
compiler
double
paradox
1 голос
3 ответов
4th Dec 2017, 11:15 PM
Гриша Ахременко
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
#include <stdio.h> #define sqr(x) x*x int main() { printf("%d",sqr(3+1)); return 0; }
c
macro
4 голосов
2 ответов
17th Sep 2020, 11:20 AM
Shaktirajsinh zala
#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
what is going on why is it not squaring def square(x): return x*x def test(square, x): print(x) test (square, 12)
functions
python
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#
callingupthefunction
function
if
negative
positive
x*x
x*x*x
0 голосов
5 ответов
22nd Dec 2020, 12:22 PM
Elia John
how to initiate e^x in c program, like x^2 as x*x?
as
c
e^x
how
in
initiate
like
to
x*x
x^2
1 голос
4 ответов
13th Apr 2018, 4:53 PM
Anand Wanve
Задать вопрос
Задать вопрос
Задать вопрос
Задать вопрос
Актуальное сегодня
How to do a responsive page?
1 Votes
Running a python code
1 Votes
Can I make coding projects here and run them without sololearn pro, only in sololearn.
0 Votes
Hey I've done the C# and SQL beginner and intermediate, but still feel like there could be more... Is there advanced somewhere?
0 Votes
How create a new language ?
0 Votes
Is there any debugging practice here or not?
1 Votes
Ai in future
1 Votes
Hola
0 Votes
How To Enable Disable Divs?
0 Votes
Beginner question
0 Votes