Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
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 Votes
5 Answers
22nd Dec 2020, 12:22 PM
Elia John
Ask a question
Ask a question
Ask a question
Ask a question
Hot today
Ai generated practices
2 Votes
I have finished first in Saturn League 3 times in a row, why have I not been given the badge for âIntergalactic Championâ
1 Votes
Solving coding challenges
2 Votes
Changing String Variables into int in C++
0 Votes
I am new
1 Votes
Fill in the blank to declare a static variable.
0 Votes
Advertising in Sololearn
0 Votes
RUST'S FUTURE
1 Votes
Programming Language
0 Votes
Question #2: "Please activate your account and keep learning to enable messaging. An email has been sent to you"
1 Votes