Resources
Answers
Examples
Sign in
Get Started
What do you want to save?
Add Code snippet
New code examples
TypeScript
2021-11-22 12:21:38
count digits of a number using recursion in c
/*C program to count digits using recursion.*/ #include <stdio.h> //function to count digits int countDigits(int num) { static int count=0; if(num>0) { count++; countDigits(num/10); } else { ...
Add solution
TypeScript
2021-11-22 12:21:12
count digits of a number using recursion in c
/*C program to count digits using recursion.*/ #include <stdio.h> //function to count digits int countDigits(int num) { static int count=0; if(num>0) { count++; countDigits(num/10); } else { ...
Add solution
TypeScript
2021-11-22 12:21:06
count digits of a number using recursion in c
/*C program to count digits using recursion.*/ #include <stdio.h> //function to count digits int countDigits(int num) { static int count=0; if(num>0) { count++; countDigits(num/10); } else { ...
Add solution
TypeScript
2021-11-22 12:21:06
count digits of a number using recursion in c
/*C program to count digits using recursion.*/ #include <stdio.h> //function to count digits int countDigits(int num) { static int count=0; if(num>0) { count++; countDigits(num/10); } else { ...
Add solution
TypeScript
2021-11-22 12:20:53
count digits of a number using recursion in c
/*C program to count digits using recursion.*/ #include <stdio.h> //function to count digits int countDigits(int num) { static int count=0; if(num>0) { count++; countDigits(num/10); } else { ...
Add solution
Java
2021-11-22 00:30:19
getBucketCount java
public class Main { public static void main(String[] args) { // write your code here System.out.println(getBucketCount(2.75,3.25,2.5,1)); System.out.println(getBucketCount(3.4,2.1,1.5)); System.out.println(getBucketCount(-3.4...
Add solution
Java
2021-11-21 20:02:22
euclids algoritm java gcd
//Calculating GCD with euclid's algorithm using recursion public static int calcGCD(int num1, int num2) { if (num2 == 0) { return num1; } else { return calcGCD(num2, num1 % num2); } }
Add solution
Java
2021-11-21 16:10:23
how to create a variable java
// static variable in java example public class StaticVariableExample { // static variable static int a = 0; public void add() { a++; } public static void main(String[] args) { StaticVariableExample obj1 = new StaticVariab...
Add solution
Java
2021-11-20 19:41:12
coin flip in java
public static int CoinFlip(){ int i; i = (int)(2*Math.random()); return i; }
Add solution
Java
2021-11-20 11:19:22
how to return array in java
public static int[] numbers() { int[] arr={5,6,7,8,9}; //initializing array return arr; }
Add solution
‹
1
2
3
4
5
6
7
8
9
10
...
17
18
›
Best helpers
daily
weekly
monthly
for 3 months
Mateusz Jagiełło
+5
Eric Vought
+5
James Song
+5
Fishbean
+5
Shaghayegh.af
+5
Inoutguttiwutts
+5
Mai Rose
+5
Bunch
+5
Bob R Bogle
+5
Kateřina Van Wagenen
+5
Frankie Robertson
+5
Gruppetto
+5
IsaacsLaughing
+5
Katboodle
+5
Vidhi Patel
+5
David Scarbrough
+5
Buttercup
+5
Bin Nguyễn
+5
Shariq shamsi
+5
show more
This website uses cookies to make IQCode work for you. By using this site, you agree to our
cookie policy
Welcome Back!
Sign up to unlock all of IQCode features:
Test your skills and track progress
Engage in comprehensive interactive courses
Commit to daily skill-enhancing challenges
Solve practical, real-world issues
Share your insights and learnings
Sign in
E-mail
Password
Recover lost password
Log in
Or log in with
Not registered?
Sign up takes less than a minute
Create a Free Account
Sign up to unlock all of IQCode features:
Test your skills and track progress
Engage in comprehensive interactive courses
Commit to daily skill-enhancing challenges
Solve practical, real-world issues
Share your insights and learnings
Sign up
Email
Password
Sign up for free
Or sign up with
By signing up, you agree to the
Terms and Conditions
and
Privacy Policy
. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.