• Cursussen
  • Code Compiler
  • Discussiëren
  • Prijzen
  • Teams
Menu

Q&A Discussies

Please what is the use of (int num) that is what does it do in a function??
intnum)storage(int
0 Stemmen
4 Antwoorden
1st Feb 2021, 9:19 PM
Tchamba Steve
Tchamba Steve - avatar
Fill in the blanks to declare a constant num and an arrow function calc. num = 5; const calc = (x, y, z = num) {
javascript
-4 Stemmen
8 Antwoorden
4th Apr 2019, 2:18 PM
Jonathan Rukangira
Jonathan Rukangira - avatar
int func(int num) { int count = 0; while(num) { count++; num >>= 1; } return(count) ; }For func(435) the value returned is
c#c++
10 Stemmen
4 Antwoorden
27th Mar 2020, 5:11 AM
Raj Kalash Tiwari
Raj Kalash Tiwari - avatar
int sum(int num); int main (){ int number=10; int result; result=sum(number); printf("%d", result); return 0; } int sum(int num)
explainprogram
0 Stemmen
2 Antwoorden
9th May 2020, 3:07 PM
Karan Dewangan
Karan Dewangan - avatar
public class MyClass { public static void main(String[ ] args) { int num = 5; addOneTo(num); System.out.println(num); } static int addOneTo(int num) { num = num + 1; return num; } }
java
0 Stemmen
2 Antwoorden
11th Sep 2016, 8:11 AM
Nikhil Mittal
Nikhil Mittal - avatar
how do I get line breaks? name = input("What is your name?:") print("Hiya, " + name) age = int(input("Tell me your age:")) year = str((2016 - age) + 100) num = int(input("Enter a number between 1 and 50:")) line = str((name + " will be 100 in the year " + year) * num) print(\n line)
pythonstrings
2 Stemmen
3 Antwoorden
8th Sep 2016, 10:32 AM
ZipZapp09
ZipZapp09 - avatar
Populair vandaag
What is a simple and easy way to learn ruby? :)
1 Votes
Help
1 Votes
How do i make a lexer and parser
1 Votes
Lesson Takeaways
0 Votes
If we already have the DELETE command in SQL, why do we need TRUNCATE?
2 Votes
I’m a beginner and looking to learn the basics
0 Votes
How to get Intergalactic champion badge?
0 Votes
What’s wrong
0 Votes
How to open codes that are not saved in public
0 Votes
Grid layout
1 Votes