Corsi
Accedi
Inizia a imparare l'IA
Corsi
Accedi
Inizia a imparare l'IA
Discussioni Q&A
Cerca
Cerca
Fai una domanda
Fai una domanda
Write a Java program that reads an positive integer and count the number of digits the number (less than ten billion)??
java
0 Voti
1 Risposta
30th Sep 2019, 1:30 PM
Hawaa Basheer Ali Elamin
How can i write a C++ program to find the sum of all the digits of a number using WHILE.... statement?
c++
sololearn
while
1 Voto
1 Risposta
29th Oct 2022, 12:50 PM
WALTER CHIBUIKEM CHUKWUEMEKA
write a program that prompts a user to input three intgers and outputs the digits in nondescending order?
java
0 Voti
1 Risposta
23rd Oct 2016, 8:10 AM
Jeff Saligumba
Write a function that computes the average of the digits in an integer. Use (double averageDigits (long n)
1
-2 Voti
1 Risposta
11th Nov 2021, 2:32 PM
Emmanuel Kiprotich
Q/Write code c# or c++.. to swap each digits in any number ...for example. .you enter 1234? .. the results of code = 1243..
c#
c++
0 Voti
6 Risposte
21st Jan 2017, 9:10 AM
jabar
C program that reads from the keyboard on character and displays on the screen: the number of digits odd using do while
c
program
programming
0 Voti
2 Risposte
25th Nov 2021, 11:20 AM
Țurcan Petru
I want help with this code
binary
c++
converter
digits
flip
0 Voti
5 Risposte
19th Mar 2018, 7:48 AM
Shubh Agrawal
How can I solve time dilation problems of physics in C , the problem is no of digits in the speed of light.
c
1 Voto
2 Risposte
5th Jul 2020, 4:35 PM
Varun N
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 Voto
2 Risposte
28th Jan 2021, 6:18 AM
Rohit Kumar Bisht
Is it possible to combine these two codes and create a general logic for sum of digits of any n digit number?
sum_of_digits
2 Voti
2 Risposte
30th Sep 2017, 12:10 PM
Saloni Singh
C language
bug
c
debug
digits
for_loop
palindrome
two
while
8 Voti
7 Risposte
26th Apr 2019, 4:28 PM
Night_fury~
If we want to check whether the modulo of number is even or odd.....note number have 36 digits value....
c++
0 Voti
2 Risposte
9th Dec 2016, 2:45 PM
islam kiani
How it will work..??
a
adding
digits
number
of
0 Voti
5 Risposte
8th Sep 2018, 1:45 PM
Sowmiya
Is it possible to use say digits and the question is the input and the output is on the answer key.
python
0 Voti
3 Risposte
24th Dec 2016, 7:36 PM
Nate
Hey i got a program to get sum of digits but can't understand it .the commented one is the way I understand please explain other
loop
python
sum
while
0 Voti
4 Risposte
3rd Nov 2018, 12:38 PM
partha
Can some explain this code explicitly. Like how the previously entered digits are added tg in 8th line what is the use of num_1
loops
0 Voti
3 Risposte
16th Feb 2019, 6:54 PM
Rishi
Write a function that computes the average of the digits in an integer. Use fun header (double average Digits(long n))
1
-3 Voti
2 Risposte
11th Nov 2021, 2:34 PM
Emmanuel Kiprotich
If we have number in integer let x we have to find all the digits of the number and store in different variables
c
c++
java
2 Voti
1 Risposta
19th Dec 2019, 8:33 PM
Himanshu Sharma
[ ASSIGNMENT: ] Form The Largest
all
assignment
digits
java
languages
largest
maximum
method
numbers
task
23 Voti
14 Risposte
22nd May 2018, 5:40 PM
Danijel Ivanović
Write a program to input a number & find out whether the sum of the digits in the number is a prime number or not.
java
whileloop
2 Voti
4 Risposte
1st Oct 2017, 9:51 AM
Aaron Stone
Program to find the product of digits of any number. My program works correct except for one type of input like 09,08,03...
fix
help
me
please
this
to
2 Voti
1 Risposta
21st Jul 2017, 6:13 PM
Abhishek Gunjan
i want to replace the unit digits of first number and last number, second number and second last number and so on.
python3
0 Voti
1 Risposta
22nd Dec 2018, 2:12 PM
Mallika Das
Are 0s and 1s the binary digits which turns tech off and on millions or billions of time per second?
0s
1s
billions
binary
digits
millions
tech
the
turns
0 Voti
1 Risposta
6th Feb 2017, 3:43 PM
Shwetabh Singh
How to feed my program live data from the internet in the form of digits (stock price) at real time?
c++
input
0 Voti
1 Risposta
26th Dec 2017, 10:15 PM
Arwaz Az
Why the output is different for both codes? Why it is showing Number of digits like 327? I couldn't understand , Help me !!
forloop
javascript
while
0 Voti
2 Risposte
22nd Jan 2020, 8:32 AM
Argon
Input a list of numbers and test if a number is equal to the sum of the cubes of its digits (rest question in the description).
cube
largest
python3
smallest
1 Voto
2 Risposte
22nd Sep 2020, 5:22 PM
Sonu Banerji
What is wrong in this code?
add
c
digits
interesting
program
0 Voti
2 Risposte
10th Feb 2020, 3:59 PM
Virendra Maurya
I need help, how to round a decimal num to 5 and 3 digits in c#. The users will write a decimal num
c#
input
1 Voto
2 Risposte
3rd Nov 2017, 1:26 AM
Shadi Ghazi
Printing number patterns in c
c
digits
loops
nested
numbers
patterns
0 Voti
3 Risposte
19th Nov 2019, 7:21 PM
mel1705
With C++ console-based how do i create two random numbers consisting of three digits each to be added in columnar format?
c++
0 Voti
1 Risposta
27th Feb 2017, 4:14 AM
Gerso Guillen
Write a program that places a +, -, or a space between the digits 1, 2, ..., 9 (in this order) so that the result is 100.
challenges
cpp
cs
js
php
programming
python
1 Voto
4 Risposte
11th Sep 2017, 4:23 AM
Daniel Ustavshchikov
"A base-n literal consists of the digits 0 to n-1, with a to z (or A to Z) having values 10 to 35."??
change_default_base
int()
python3
0 Voti
1 Risposta
8th Dec 2020, 12:11 AM
rodwynnejones
Can you give me an example of this "if the sum of the three given digits is divisible by 2 or not."?
algorithm
flowchart
java
-2 Voti
1 Risposta
20th Sep 2022, 12:03 AM
KarlTzy Bren
Write a function interverse (n) tht takes as positive integer n and returns the integer obtainef by reversing the digits in n
python
-2 Voti
2 Risposte
5th Feb 2017, 3:29 AM
kavitha.k
2. Given a random non-negative number, you have to return the digits of this number within an array in reverse order. Example:
kotlin
questions
-1 Voto
1 Risposta
16th Jul 2021, 10:04 AM
Oputa Prince
Program to find the product of digits of any number. My program works correct except for one type of input like 09,08,03...
fix
help
me
please
this
to
1 Voto
1 Risposta
21st Jul 2017, 6:13 PM
Abhishek Gunjan
Please can anyone provide me a c++ program to find number of digits in a given integer (using for loop c++ version 4.5)?
i
0 Voti
2 Risposte
11th Nov 2017, 11:03 AM
pundarikaksh narayan tripathi
Let A,B,C 3 int with 3 digit. C=A+B. Find all A B C that makes the sum of C's digits =18. Ex. 152+487=639. (6+3+9=18)
java
1 Voto
1 Risposta
5th Mar 2018, 10:16 PM
MONCEF M
how to write code in c# for this program:-
c#
digits
loop
prime
while
1 Voto
2 Risposte
27th Nov 2016, 12:41 PM
Deepashri Bharat Barve
I have to code an algorithm.We enter 2 digits for coordinates of a point, the result must be where the point is-black or white?
c++
0 Voti
2 Risposte
11th Nov 2016, 5:29 PM
Martin Veselinov
how to find next highest number for the given number which should contains only the digits 2 and 7. ex:i/p 2 o/p 7,i/p 22 o/p 27
ruby
2 Voti
1 Risposta
7th Feb 2018, 7:09 PM
Gopi Krishna
write a program that reads two positive integers of at most 20 digits and outputs the sum of the number if the sum of numbers
c++
0 Voti
1 Risposta
12th May 2018, 5:30 PM
Tamii Mohammad
assume user can input 2 integers, let it be (15,3) so we have to print all the possible sums of 3 digits which equals input1(15)
java
logic
0 Voti
2 Risposte
11th Jul 2017, 2:01 PM
Jay Parekh
User inputs an integer/string. I want to sort the digits/characters of this integer/string. How can I accomplish that in Ruby?
character
digits
ruby
sort
string
1 Voto
1 Risposta
21st Sep 2017, 11:04 AM
Ben
Why is my code showing an output of 4, 4, 8 despite writing a code for 1??
c
data
digits
language
numbers
types
-2 Voti
3 Risposte
25th May 2021, 7:15 AM
Saarthak Baadshaah
Digits should be in ascending order i.e., the digit on the left should be lesser than the digit in the right For Example: 27 ->
javascript
0 Voti
1 Risposta
29th Nov 2022, 7:16 PM
charan dhiran
Write a program to input a number & find out whether the sum of the digits in the number is a prime number or not.
java,
loop,
while
0 Voti
1 Risposta
30th Sep 2017, 5:39 PM
Aaron Stone
Program for multiple of at least two digits, n, return 1 if n is multiple of at least two digits or return 0,o/p prime number c
c
-2 Voti
1 Risposta
13th Aug 2017, 11:42 AM
kiruthikaa
Check out my Code!
code
digits
java
number
sololearn
to-words
2 Voti
1 Risposta
30th Jan 2017, 8:05 PM
Pankaj Vaghela
What's the JAVA code If i want from the user to write their contact number that should be just 10 digits?!!!
contact
digits
java
length
number
scanner
string
1 Voto
1 Risposta
11th Oct 2019, 9:17 AM
RazanAbuawf
Fai una domanda
Fai una domanda
Fai una domanda
Fai una domanda
< Precedente
1
...
5
6
7
Successivo >
Popolare oggi
I think the heart system is ridiculous, 5 hearts that refill after like 5 hours? That is really just crazy to me.
3 Votes
Guys I don't know anything about cooding who can help me pls
1 Votes
Why can’t I use double “ in python?
1 Votes
What do you think of this code and what are your suggestions for developing and modifying it?, How can I develop myself more?
1 Votes
Coding for Cybersecurity
1 Votes
Need help
1 Votes
Pointers in c#
1 Votes
2 cases not correct what's the problem
2 Votes
You’re free to give me your advice! 🚨
1 Votes
Salut tout le monde
1 Votes