• Kursy
  • Kompilator kodu
  • Dyskusja
  • Cennik
  • Zespoły
Menu

Dyskusje Q&A

Using code playground, can someone tell me if the output for this code is normal or is something wrong with my code. It doesn't let me input velocity or time after I run it, is that normal for code playground? Total newbie to here. Just a simple code to calculate distance.
c++
0 głosów
2 odpowiedzi
1st Oct 2016, 10:07 PM
Rushawn
def add(x, y): return x + y def do_twice(func, x, y): return func(func(x, y), func(x, y)) a = 5 b = 10 print(do_twice(add, a, b)) Please explain step by step Which is caller here? Explain the 3rd and 4th line ? why in 4th line we write add(add(x,y),add(x,y)) which is function of 1st line ? how can we write function after return statement insted of (x+y+x+y )=30?
python
0 głosów
2 odpowiedzi
29th Jul 2016, 7:22 PM
Rupam Das
Rupam Das - avatar
 Write a C++ program that retrieves all the numbers stored in a data file named LAB1.TXT. As each number is retrieved, it is displayed on the screen. After the end of file is reached, the numbers should be sorted into numerical order and then the result should be displayed EXAMPLE:  Assuming LAB1.TXT has the following numbers: 7  4  12  3       The output would be Original order:7  4  12  3Numerical order:3  4  7  12
c++
0 głosów
2 odpowiedzi
25th Sep 2016, 7:00 PM
Najwa
Najwa - avatar
< Do tyłu1...7879Dalej >
Popularne dzisiaj
Hofstadter a sequence code coach is not running
0 Votes
the code for bigneer is not really what to do after coding begeneer in sololearn
0 Votes
Input errors (python)
1 Votes
Vote Code
1 Votes
What’s the actual difference between MB and GB in real-world usage?
1 Votes
Without degree job
0 Votes
Script file names
0 Votes
I wanna know is that what about dot net developers in future there is possible they gonna downfall in industry
0 Votes
Je cherche des gens qui parle français pour apprendre le langage c
0 Votes
How can I add gradient to the background
1 Votes