Kurse
Kurse
Code Compiler
Code Compiler
Diskutieren
Teams
Anmelden
Registrieren
Menu
F&A Diskussionen
Suchen
Suchen
Eine Frage stellen
Eine Frage stellen
Is there a standard function or in math functions that returns the sign of a float?
c
c++
function
0 Stimmen
2 Antworten
8th Nov 2017, 9:56 PM
imed guebli
Write Python code which accepts name of a product and in turn returns their respective prices.
python
-1 Stimme
1 Antwort
1st Feb 2022, 1:41 PM
Vesly Raju
Write a function that accepts a number as argument and returns the square of the number. For example if the number passed to the
function
function-arguments
2 Stimmen
6 Antworten
1st Feb 2022, 3:06 PM
Knowledge Is Power
Rest api Python-flask using flask-restless package which pulls news from any news website and returns at least 10
python
0 Stimmen
1 Antwort
15th Dec 2021, 8:03 AM
Harshit sharma
Write a python program which accepts a message and encrypts it based on rules. given below and returns the encrypted message.
python
1 Stimme
2 Antworten
21st Mar 2021, 2:41 PM
Neel Tilak
Returns an array of string consisting of the characters in s split into tokens based on the delimeter c, followed by a
arraylist
c
1 Stimme
5 Antworten
24th Oct 2018, 1:47 AM
Tuyen Pham
Is there a function in the math.h library that returns the element in an array with the highest value
c
2 Stimmen
2 Antworten
12th Nov 2018, 2:52 PM
Makanga Christopher
Write a program that prompts the user to enter 4 non-negative integer values and returns the largest of the four.
c#functions
noframe
1 Stimme
2 Antworten
7th Dec 2022, 7:01 PM
Mary Njeri
Why or when we use (None) in code? What's the benefit in it? When compiler returns its output as (None)?
cpython
none
python
python3
strings
2 Stimmen
3 Antworten
24th Feb 2018, 3:16 AM
New_Bin
Write and test a function hydroxide that returns a 1 for true if its string argument ends in the substring OH .
strings
1 Stimme
4 Antworten
5th Apr 2018, 1:37 PM
Shubham kumar Mishra
Create a class called BstIterator which has two methods, hasNext() which returns a if the BST has the next smallest element, and
java
-2 Stimmen
5 Antworten
5th Sep 2021, 8:37 AM
Dasari Krishna
Integer b = Integer.valueOf("444",16); And int b = Integer.parseInt("444",16); Both returns 1092. Can anyone explain how?
parse
parseint
valueof
-1 Stimme
1 Antwort
7th May 2018, 9:29 PM
Syeda Zobia Kanwal
Fill in the blanks to define a generic class, which has a member method that returns the value of x. Temp { T x; public
c#
0 Stimmen
5 Antworten
16th Sep 2016, 6:41 AM
Priyanka Pasalkar
Define a function that takes a dictionary as an argument and returns the same dictionary but with different values
dictionary
functions
python
python3
0 Stimmen
3 Antworten
10th May 2017, 4:46 PM
trucktar
Write a function intreverse(n) that takes as input a positive integer n and returns the integer obtained by reversing the digits
a
as
function
input
integer
intreverse(n)
positive
takes
that
write
0 Stimmen
4 Antworten
19th Aug 2018, 6:26 PM
Aravindharaj P
[{(PYTHON)}] How to create a programme that takes an integer input and returns next nearest prime pallindrome
logical
0 Stimmen
1 Antwort
1st Jun 2020, 9:22 AM
Xander 41
I always read about returning values and it explains that the return keyword returns a value, but what does that even mean?
c#
c++
java
1 Stimme
5 Antworten
5th Jan 2017, 12:03 PM
Lily Awertnex
WHy does this returns 4294967293 and not +3 since %u is used, i get the reason why 4294967293 yields but why not 3 , someone ple
c
claguage
doubt
3 Stimmen
4 Antworten
14th Mar 2022, 3:45 PM
blueshipswims
Write the function isValid to Validate an IPv4 Address. The function takes the address in the form of string and returns true.
data_structur
python
string
1 Stimme
2 Antworten
9th Apr 2023, 12:10 AM
Ghassan Sawalha
When I do a sum of numbers, it returns them together, as if they were text strings, does anyone know what I'm doing wrong?
javascript
0 Stimmen
6 Antworten
1st May 2021, 2:53 AM
Josenmta
What is the meaning of "a function which does not return a value" and " a function returns some value" ?? Please send the answer
c++
functions
main
void
3 Stimmen
7 Antworten
28th Jul 2017, 10:20 AM
Yasir Faiz Ahmed
`ForEach` only returns undefined and `map` and `reduce` do not work on this problem. How to make code work?!
arrow-function
foreach
0 Stimmen
1 Antwort
3rd Feb 2021, 9:01 AM
Emmanuel Riano
Hi, can anyone please tell me that why new object of String class hashcode returns 0 as output.
string
0 Stimmen
1 Antwort
11th Aug 2020, 11:33 AM
Nid
In the given code, whichever block i place first sequentially returns a result while the one i place [continued in desc]
fileobject
python
read
1 Stimme
2 Antworten
16th Nov 2019, 5:00 AM
Rayyan
You need to write a function that takes multiple words as its argument and returns a concatenated version of those words separat
mojamed
-2 Stimmen
3 Antworten
25th Dec 2020, 6:06 PM
Mohammed Dafa alla Mohammednour Hamid
write a function int max_of_four(int a, int b, int c, intd) which reads four arguments and returns the greatest of them
c
0 Stimmen
3 Antworten
11th Dec 2020, 2:55 PM
Rahul
What is the work or doing of the 'return' statement in the function's body ? To where it returns the value ?
functions
0 Stimmen
4 Antworten
10th Feb 2019, 3:09 AM
kushalpal sharma
Write a function that accepts a string and returns an array of its character code in reverse order
arrays
functions
javascript
strings
0 Stimmen
2 Antworten
13th Aug 2017, 11:31 PM
oneCaptain
Need a c++ function to which a string is passed and it returns a copy of the passed without the first character.
c++
code
strings
1 Stimme
3 Antworten
21st Oct 2018, 4:17 AM
Saksham Narula
Write a JavaScript function that returns a .4 passed string with letters in alphabetical 'order. Example string : 'webmaster 'Ex
javascript
1 Stimme
2 Antworten
13th Dec 2016, 4:39 PM
Nashwan Aziz
Currently, process does not do anything. It just returns 0. You have to change this program so that it counts the number of pure
0 Stimmen
3 Antworten
8th Dec 2021, 7:52 AM
sunny telange
Im stuck here can anyone help 😭😭 function is a perfect square, which a given integer n, returns 1 if n is a perfect square.
c++
2 Stimmen
2 Antworten
30th Nov 2018, 3:32 AM
Notorious.mimi
How to make some arguments in __init__() default? If you write it like def __init__(self, color='red', legs) it returns error.
classes
predefined-variables
python3
0 Stimmen
2 Antworten
25th Jan 2021, 4:58 AM
Alexander Grothendieck
How to make a fanction using c++ that returns the length of a string or array of characters?
c++
0 Stimmen
2 Antworten
25th Dec 2016, 8:22 AM
ghasan
Someone pls elaborate: cmp() method of list in python. With an example. And how cmp() compares lists and returns outputs.
cmp()
python
0 Stimmen
3 Antworten
20th Jan 2018, 11:57 AM
Tincture
What are some of the worst practices you could do while programming in python? (p.e having multiple returns in a function)
beginners
python
2 Stimmen
2 Antworten
31st Jan 2018, 9:52 PM
Maria Leonor
The first is the output string with a format specifier (%ld), while the next argument returns the sizeof value. In the final out
c
0 Stimmen
3 Antworten
8th Oct 2020, 8:56 AM
Emdad Ullah
Help me please! i want to write a function that has a double x and a boolean ok as parameters,and returns a double.
return
0 Stimmen
5 Antworten
26th Sep 2017, 6:30 PM
love
Give method intprint( Int x,Int y) in a class sample 2 which calculates and returns the product of cubes of the arguments x andy
x
y
0 Stimmen
3 Antworten
13th Dec 2020, 1:15 PM
Priyanshi Sahu
You need to write a function that takes multiple words as its argument and returns a concatenated version of those words separat
py
0 Stimmen
2 Antworten
29th Jul 2021, 12:44 PM
Mohamed Amine Ouljihad
Define a function named longest_duplicates that returns the length of the longest sub-array of duplicates in a given sort array.
c++
1 Stimme
2 Antworten
3rd Mar 2017, 5:52 AM
Tosrif Jahan Sakib
A palindromic number is a number (such as 626) that remains the same when its digits are reversed. Write a function that returns
c++
1 Stimme
2 Antworten
28th Jan 2021, 6:18 AM
Rohit Kumar Bisht
I put 2 variables with the value 267 and compared it with the " is" command in Python and returns the False value. What is the
python
2 Stimmen
3 Antworten
25th Feb 2021, 9:59 PM
Amir
Wap to input 2 tuples A and B and print true if every element of tuple B else it returns false
python3
tuples
0 Stimmen
1 Antwort
24th Feb 2020, 12:25 PM
Rajat Srivastava
Can someone please tell me how I can create a file in Shell that when I run CAT on it, it returns Z followed by a line break?
please
shell
1 Stimme
4 Antworten
1st Oct 2019, 4:50 PM
Nan0brS
The Return Type: returns the greater one. What happens if I enter 2 equal values? Why its not error?
0 Stimmen
2 Antworten
2nd Jun 2017, 3:10 PM
Alex Ihnatsiuk
I am not able to share my profile. Only when i am logged in the profile appears else page returns error
error
profile
sharing
0 Stimmen
1 Antwort
18th Mar 2023, 3:22 PM
Mohammed Asif Khan
In javascript whenever I compare two similar objects it returns a false on the other hand comparison of two similar arrays retur
css
html
javascript
objects
1 Stimme
2 Antworten
19th Aug 2018, 1:48 PM
Raghunath
'write a function that accepts an array of non negative integers and returns the second largest integer in the array.
arrays
0 Stimmen
2 Antworten
18th Feb 2017, 2:23 PM
Ricardo Chitagu
Please. How can i write the syntax of a function in c++ that has an integer as paramaters and that returns a boolean..
function
return
0 Stimmen
4 Antworten
30th Sep 2017, 12:04 AM
love
Eine Frage stellen
Eine Frage stellen
Eine Frage stellen
Eine Frage stellen
< Vorherige
1
...
5
6
7
Weiter >
Heute heiß
How to get better with problem-solving and programming
1 Votes
Odd even threads without condition variable
0 Votes
Ejercicio Pytho
0 Votes
What is that z for
0 Votes
Bug on "Java for Beginners Module 3 Quiz"
1 Votes
Suggestions needed
4 Votes
Write a program to find the strings are in isogram or not
0 Votes
What's wrong with this code ? ( Beginner)
0 Votes
Please rate my code from 1 to 10
1 Votes
How to start
0 Votes