Cursos
Cursos
Compilador de Código
Compilador de Código
Debatir
Teams
Iniciar sesión
Registrarse
Menu
Sesiones de PyR
Buscar
Buscar
Haz una pregunta
Haz una pregunta
How can I code a formula (c++) about the Dudeney number using functions?
c++
code
dudeney
formula
function
0 Votos
1 Respuesta
10th Jun 2017, 12:34 AM
Cinty
Why do we preffer writing int main() instead of void main()...?
c
cpp
function
main
return_type
1 Voto
1 Respuesta
25th Sep 2017, 5:44 PM
Ankur Pashine
useful Java library functions
built-in
function
java
methods
pigeon
0 Votos
1 Respuesta
1st Sep 2017, 4:25 PM
Michael Vigato
Its about friend function, HOW IT BREAK/ VIOLETS ENCAPSULATION CONCEPT?. Internally at binary code level?
c++
coding
development
friend
function
programming
0 Votos
2 Respuestas
27th Nov 2017, 7:20 AM
Bhushan Rane
I want a python program (use function ) in which first we check the odd even then return both value and then print
check
even
function
odd
program
python
return
then
value
-4 Votos
4 Respuestas
19th Dec 2017, 3:08 PM
Avinash Rawat
Here is an function to return the maximum value among three positive integers. There is an error in this function. Provide an in
answer
0 Votos
1 Respuesta
25th Sep 2019, 2:05 PM
Anirudh Putta
Can i define a FUNCTION in a class and If yes then how can i access on an object or it is not possible to define a function??
python
0 Votos
3 Respuestas
31st Mar 2017, 6:52 AM
PREETAM
What's the point of having three types of loops cause the all have the same function and don't seem so different from each other
c++
switch
0 Votos
2 Respuestas
12th May 2017, 5:35 PM
Shammah
I want to ask how to write a method to stop if -else function running else part but can run if part thank you.
c#
0 Votos
2 Respuestas
18th Oct 2016, 2:43 PM
danny
How to append to a text file?
append
files
function
game
python
python3
quiz
read
write
2 Votos
4 Respuestas
7th Oct 2017, 7:03 PM
X-1
In what case search function in binary search tree will have O(h + s) complexity, where h is the height and s is item returned?
algorithms
bst
complexity
0 Votos
1 Respuesta
11th Feb 2023, 10:27 PM
FERUZ
Can not find the problem. mainly when I giving the code inside "else if". It is not working.
<head>
<html>
<script>
a=document.getelementbyid("a").value;
document.getelementbyid("error").innerhtml="enter
function
if(n==""){
invalid=0;=document.getelementbyid("n").value;
val(){
var
0 Votos
6 Respuestas
8th Oct 2018, 9:50 AM
Paramita
Write a function that searches for a number in a list of number. Pass the list and number to be searched as arguments to the fun
!
1 Voto
1 Respuesta
29th Mar 2020, 3:37 PM
hafizakomal shaik
Write a program with the function chkOdd() that takes one argument (a positive integer) and report if the argument is odd or not
function-arguments
python
-2 Votos
1 Respuesta
17th Nov 2020, 9:27 PM
Prerna Keshkar
Write a function to return a string that contains random numbers where the length must be equal to the value of the parameter.
functions
html
javascript
strings
1 Voto
1 Respuesta
14th Aug 2017, 3:22 AM
oneCaptain
Do you can do code on C, for function sqrt. This code must be very clever. Must be very fast for big numbers.
c
sqrt
-1 Voto
1 Respuesta
11th Oct 2019, 8:33 PM
Igor Rudkevich
currently I am learning django and I am used to function based view. Do you suggest me to switch to class based view?
django
djangorestframework
drf
restframework
views
0 Votos
0 Respuestas
24th Nov 2022, 2:49 AM
Prat
want to Modify the displayBirthdate function to display a user’s age from the API call in getAUserProfile() in a DIV with a CSS
sololearn
0 Votos
1 Respuesta
9th Apr 2019, 6:27 PM
shadrach esharive
Write a function that have to copy one char array to other avoiding any not-letter symbols. Note. Your program have to use poin
c++
-3 Votos
1 Respuesta
16th Oct 2020, 1:06 PM
Nurlan
what is the difference between itertools takewhile method and filter.they exaclty function as same so why there are two of them in python
python
0 Votos
1 Respuesta
9th Jul 2016, 9:38 AM
jayrajarora2694
7. Write a JavaScript function that accepts a string as a parameter and counts the number of vowels within the string. Note :
functions
javascript
-1 Voto
2 Respuestas
18th Dec 2016, 9:23 PM
Nashwan Aziz
Experimenting with JS return statement... help [SOLVED]
attempt
function
js
math.floor
math.random
random
return
web
1 Voto
2 Respuestas
7th Aug 2020, 8:31 AM
Ginfio
Is It a Good Implementation of a BinarySearch Method in Java?
algorithm
binary
binarysearch
function
java
method
o(log-n)
search
1 Voto
1 Respuesta
11th Aug 2021, 8:18 AM
Yahel
Why can't I get a user to be able to input 1 or 2 to select which function to use via class and object?
and
bad
coding
math
probably
0 Votos
2 Respuestas
19th Oct 2017, 3:01 AM
Patrick
why do we use the word "class" in defining a function template? is it related to classes really or is just a sample word?
c++
templates
0 Votos
2 Respuestas
1st Oct 2016, 1:17 PM
parisa
Isn't it that most of the function in new version of CSS so called CSS3 came from javascript? what are the improvement of javascript?
css
css3
javascript
0 Votos
2 Respuestas
1st Mar 2016, 1:52 PM
Hanthony Tagam
I had a doubt. Why in java all the lines even the main function need to be inside the class? Can anyone help me
java
0 Votos
2 Respuestas
16th Dec 2017, 2:21 AM
lokesh krishna
Someone who understands WordPress very well please...I need your contribution
css
function
functions
hooks
html
javascript
phone
web
wordpress
0 Votos
5 Respuestas
1st Mar 2018, 6:14 PM
Biko
how can i call for a user input in swift?
error
function
if
input
ios
readline
swift
0 Votos
1 Respuesta
30th Sep 2019, 1:13 AM
Wardy Spirit
Coding help for project idea
function
help
list
newtocoding
project
python
tuple
tutor
0 Votos
2 Respuestas
26th Apr 2020, 2:08 PM
Amy Lin
Get just name from url with JavaScript
function
javascript
javascript_function
split_url
splitting
today_question
today_task
url
3 Votos
2 Respuestas
17th Mar 2018, 8:47 AM
Muhammad Irfan ✓
I'm creating a library
clipboard
clock
copy
function
help
javascript
js
library
random
suggestion
2 Votos
2 Respuestas
4th Mar 2021, 10:19 PM
Gabriele Giambrone
does the return statement dépends on thé argument given to thé function? because this function prints none because there was no argument given to it.
python
0 Votos
2 Respuestas
30th Jul 2016, 5:32 PM
Alain Eros Prestige Musoni
When would you say a function() name is too long?
c#
c++
design
function
good
java
name
practice
standards
3 Votos
3 Respuestas
20th Feb 2018, 9:15 PM
Chai Grindean
what is the shortcut key of creating multiple methods in c# ?
c#
code
function
key
main
methods
shortcut
2 Votos
1 Respuesta
22nd Jan 2017, 4:12 AM
Ajay Bhoi
Create a function that prints all elements of an array using recursion. Fill the blanks void print(int b[], int size){ if (size>0){ cout<<b[0]<<endl; _______(&b[1],size - 1); } }
c++
output
-1 Voto
3 Respuestas
22nd Aug 2016, 2:16 PM
Soutik
What are the interesting built-in Methods(Functions) You know in Java OR C++. For example random()
c++
cool
cpp
function
java
method
0 Votos
1 Respuesta
18th Apr 2018, 6:30 PM
Uzair
How to stop the code from going to the other step if the user didn't enter their name?
code
codeplayground
conditions
function
html
javascript
js
name
prompt
user
0 Votos
4 Respuestas
6th May 2021, 6:46 PM
Radwa Hamdy
I want to increment the global variable when i call a function but its giving me an error can some body help me out
python3
0 Votos
1 Respuesta
7th Oct 2018, 4:45 PM
Velivela Sai Chinna Madhu Babu
5. Write a JavaScript function that accepts a string as a parameter and converts the first letter of each word of the string in
javascript
1 Voto
1 Respuesta
9th Dec 2016, 7:01 PM
Nashwan Aziz
1. Write a program which will take marks of three quizzes as float input, then call a void function ScaleUp( q1, q2, q3) to
@everone
-1 Voto
1 Respuesta
20th Jun 2022, 3:43 PM
Ahasanul
5. Write a JavaScript function that accepts a string as a parameter and converts the first letter of each word of the string in
javascript
0 Votos
1 Respuesta
9th Dec 2016, 12:41 PM
Nashwan Aziz
Make a function which returns the maximum value You are a renowned hacker who has recently found a bug within Flipmart. For a g
java
javascript
-1 Voto
1 Respuesta
24th Nov 2017, 4:17 PM
Srivatshan.P.K
If i want a function to get input(s) from the user, how do i store the values into integers inside the int main() function?
c++
functions
input
0 Votos
1 Respuesta
4th May 2017, 5:59 PM
K1llJ0Y
Write a function that returns true if a given number is a palindrome, and false, if it is not. Complete the given function, so
functions
-4 Votos
2 Respuestas
16th Mar 2022, 1:36 PM
Gagan Gajendra
Could you explain why the output of the code is nothing. My understanding is that "A a()" calls the "A(int a)..." function but f
c++
classes
1 Voto
1 Respuesta
26th Aug 2017, 12:53 AM
Aurora
why in this case we call the function in Main like that " int result = sum(x, y);" why no by just typing sum(x,y)?
c++
function-arguments
functions
0 Votos
1 Respuesta
11th Mar 2017, 10:46 AM
Matej Čalić
How to make an alert window show after the right words has been inputted In the box and the disabled button can be clicked
alert
alertbox
css
function
html
javascript
var
0 Votos
1 Respuesta
3rd May 2018, 1:42 PM
klisco1
JS | NEED YOU HELP PLZ !!
alert
css
function
help
html
html5
javascript
var
video
1 Voto
4 Respuestas
21st Dec 2016, 9:24 PM
Carlos Castro
How can I create a button that increase the size of the text each time I press it?
button
fontsize
function
increase
js
size
text
1 Voto
2 Respuestas
1st Jan 2017, 6:41 PM
Hillel Nagid
Haz una pregunta
Haz una pregunta
Haz una pregunta
Haz una pregunta
< Anterior
1
...
120
121
122
123
Siguiente >
En tendencia hoy
Someone can help me
2 Votes
What's wrong with this?
2 Votes
HTML community, HELP!!
1 Votes
X velocity
0 Votes
I am a super beginner
0 Votes
Files not linking in C++
0 Votes
Img & web server or personal info
0 Votes
Web Dev
0 Votes
I want to make a triangle area calculator ,anybody can teach me
1 Votes
How this program executes?
0 Votes