Cursos
Cursos
Compilador de Código
Compilador de Código
Debatir
Precios
Teams
Iniciar sesión
Registrarse
Menu
Sesiones de PyR
Buscar
Buscar
Haz una pregunta
Haz una pregunta
How to reverse the integer when we are getting an input in c++?eg:123 is input, we need to change it as.... 321.
c++
0 Votos
3 Respuestas
9th Dec 2020, 5:16 PM
RAVIKIRAN.D
Im stuck here can anyone help 😭😭 function is a perfect square, which a given integer n, returns 1 if n is a perfect square.
c++
2 Votos
2 Respuestas
30th Nov 2018, 3:32 AM
Notorious.mimi
Make a C program that allow user to list integers and then the program will tell what was the largest integer and times it occur
sololearn
0 Votos
7 Respuestas
9th Sep 2018, 7:26 AM
Sky
I don't why the answer is not print in float value. the output only prints an integer value. Pls reply what is error.
c++
1 Voto
3 Respuestas
14th Jan 2021, 4:27 PM
Jawahirullah
If we divide any integer number by zero it raises arithmetic exception. If we divide any double,float number it result the same?
arithmetic
operations
0 Votos
2 Respuestas
26th Apr 2019, 4:17 PM
PRAVEEN R
Isn't this a end loop due to int limit overflow
integer
loop
overflow
0 Votos
2 Respuestas
7th Jan 2018, 10:13 AM
Erkan Bayram
write a program that read an integer from user and print all of its divisors in java
java
0 Votos
1 Respuesta
27th Oct 2018, 12:50 PM
Zain Ali
How can I divide a range by integer that is each number of a range by integer?
ranges
ruby
0 Votos
2 Respuestas
11th Sep 2017, 5:21 PM
Abeer Mahmood
Design a function that prints on screen the integer equivalent of the parameter if it is any of the following: “one”, “two”,
c
functions
0 Votos
1 Respuesta
25th Nov 2020, 6:04 AM
James Carlo Boyatac
when i am dividing any no. by other, than they are not showing float instead they are showing lowest integer in result.
data-types
python
0 Votos
5 Respuestas
22nd Aug 2016, 5:08 PM
Rahul
WAP to read any integer number from the user and display addition of all the digits of that number eg. 124 =1+2+4=7
c++
0 Votos
5 Respuestas
26th Sep 2017, 3:39 AM
ishita gupta
Why does this “gets” not work? If I place an integer in place of “gets” the program works fine. Curious!
gets
0 Votos
2 Respuestas
26th Apr 2018, 7:21 PM
Charles W Hsu
Write a program that reads an integer consisting of three numbers and then prints the number of the digits, the number of tens,
help
please
1 Voto
5 Respuestas
30th Mar 2017, 8:01 PM
muhanad
write a program to read an integer array with five elements and print the prime and not prime numbers of it? Thanks first for answers 😊
c++
2 Votos
7 Respuestas
2nd Dec 2016, 10:48 AM
Faroug AS Hashad
Please how else can I convert an integer to hexadecimal in python. I tried hex(2356) but I got an error message.
python3
0 Votos
4 Respuestas
21st Feb 2018, 10:58 AM
Adisa Olaitan
Does it exist a function in C++ in order to make a list from an integer ?
c++
list
1 Voto
1 Respuesta
21st Feb 2018, 7:57 PM
Thibo 97
Write a program to calculate the nearest integer number of the square root value of a number.
c
challenges
java
python
1 Voto
1 Respuesta
23rd Sep 2017, 4:52 AM
Dzoyem Barry
What happens when I pass an integer to a float variable ? Can someone explain me the output of this code ?
c
data-types
float
input
int
output
variables
0 Votos
2 Respuestas
25th Aug 2021, 6:28 AM
Sk. Ahmed Razha Khan
Why its 20 not 20.0.......since in the last problem the answer was in float...how to declare whether its an integer or float
python
0 Votos
3 Respuestas
8th Oct 2018, 4:02 PM
Jervis.J Vasanth
In python write a function mathtable() which receives an integer and displays the multiplication table for the number up to 12.
yy
0 Votos
2 Respuestas
18th May 2020, 11:19 PM
bongani march
the user input tutorial is uncomplete. help me
input
integer
java
1 Voto
1 Respuesta
13th Nov 2016, 12:26 PM
Player
I only have 7 lines of code but the time limit exceeds, one integer value, 3 prints, and a while command, whats wrong. Descript
coding
exceeded
limit
print
problems
python3
time
while
0 Votos
6 Respuestas
26th Feb 2017, 12:08 AM
Trey Sarver
Rearrange the code to declare two integer variables: a and b, print to the screen the division equation a/b. If b is equal to 0,
c++
exceptions
3 Votos
2 Respuestas
9th Mar 2017, 6:12 AM
Sunita Sharma
Does Boxing occur when assigning an integer (e.g. 1, 2 or 3) to a 'var' type variable?
boxing
c#
compiler
unboxing
var
0 Votos
1 Respuesta
6th Dec 2016, 12:45 PM
Green Square Dermatology
Take an input as integer and print it in words without using switch and if else ladder
bitwise
c++
1 Voto
1 Respuesta
9th Nov 2017, 6:51 PM
Rahul Jain
Algorithm for converting sqrt(irrational numbers) to integer fraction with a given precision of floating point places (numbers)
math
0 Votos
1 Respuesta
20th Aug 2017, 12:00 PM
masterjack
How can I use JOPTION PANE to have a user input an integer and then have it printed on the screen?
joptionpane
0 Votos
3 Respuestas
20th Feb 2017, 12:51 AM
Terrence Donerson
Can someone help(some sort of concept) me to develop a code(in Java) that can sort some inputs of integer in ascending order.
java
1 Voto
3 Respuestas
5th Sep 2019, 2:55 PM
ANURAG .
Write a java program, that accepts an integer number and check if the number is a prime number or not.
java
0 Votos
3 Respuestas
27th Jul 2017, 1:25 PM
Oseni Luthfulahi Olaitan
(C++) wap to input 9 numbers into a 3 x 3 integer matrix and check that it is a symmetric matrix or not.
c++
matrix
symmetricmatrix
0 Votos
3 Respuestas
15th Nov 2019, 3:27 PM
Mokshag
All the even elements of the integer array K (n) are placed in the array L (n), and the odd ones in the array M (n). Calculate t
arrays
c++
1 Voto
9 Respuestas
2nd Nov 2017, 2:04 PM
Красавчик Том
Hi everyone ,, I think everyone get frustrated to use integer array as we need to ask for the no of input from the user unlike
c
c++
int
6 Votos
3 Respuestas
4th Feb 2018, 1:06 PM
Arun
Declare three (3) integer variables Firstnum, SecondNum and SumOfTwo Prompt the user to enter the first number (Firstnum) Prompt
helpme
pascal
0 Votos
1 Respuesta
18th Oct 2022, 2:36 PM
Guitche, Remuel M.
Why the output is 7.8 though "a" and "b" is integer ... I think a=5 b=7 and the function return m =7
c++
output
1 Voto
3 Respuestas
19th Apr 2017, 1:55 PM
Nour Alnaser
Find the square root of any positive integer without using built in functions like sqrt (), pow () etc... Using c++.
finding
root.
square
2 Votos
2 Respuestas
28th Aug 2017, 7:51 AM
Quassarian Viper
Write a Java program that reads an positive integer and count the number of digits the number (less than ten billion)??
java
0 Votos
1 Respuesta
30th Sep 2019, 1:30 PM
Hawaa Basheer Ali Elamin
Why do I write "String" instead of "int" after "public static void" even if I just add some integer in a code?
java
0 Votos
4 Respuestas
11th Mar 2017, 8:53 PM
Ricc Weltenbummler
[ ASSIGNMENT: ] Next smaller number with the same digits
assignment
bigger
digits
function
integer
next
number
positive
same
smaller
33 Votos
10 Respuestas
28th May 2018, 9:31 PM
Danijel Ivanović
Is java 100% object oriented?
class
double
example
integer
wrapper
4 Votos
3 Respuestas
27th Dec 2017, 6:36 AM
MAHESH BANDHIYA
How to convert decimal to binary and vice versa in C?
binary
c
decimal
integer
0 Votos
3 Respuestas
9th Feb 2018, 11:43 AM
Aditya
Write a program that asks the user to enter a list of positive or negative integers using the integer 0 as the sentinel.
c++
help
problem
question
0 Votos
3 Respuestas
1st Jul 2021, 4:21 AM
Rao Muzaffar
Can anyone tell how to round off floats
code
float
help
integer
math
python
1 Voto
5 Respuestas
29th Aug 2023, 7:09 AM
P A Arrchith Iyer
In c# ... What is the difference between console.readline and console.read ?
c#
int
integer
read
readline
0 Votos
3 Respuestas
25th Aug 2019, 9:43 PM
BlaCK DoT
Why python does not have a limit in the size of an integer where as C,C++ etc have a limit size for int?????
int
python
sizeof
1 Voto
2 Respuestas
18th May 2019, 11:26 AM
Ritika Joshi
Input: The first line will consists of one integer T denoting the number of test cases. For each test case: 1) The first line co
java
0 Votos
3 Respuestas
5th Sep 2020, 7:06 AM
Hrishabh Gupta
Write a program using DIV(J, K) which reads a positive integer N> 10 and determines whether or not N is a prime number. (Hint: N
ads
c
cprogram
datastructures
dsa
schaum
sololearn
solutions
2 Votos
2 Respuestas
30th Jan 2022, 6:36 PM
deepak patel
Given an integer n , your task is to print the lowercase English word corresponding to the number if it is <=5 else print "Great
an
given
integer
is
n
print
task
the
to
your
0 Votos
3 Respuestas
3rd Apr 2022, 5:08 AM
And Me
Write a C++ program that accepts an integer number and prints the following: 1) Sum of even factors of the number
c++
0 Votos
1 Respuesta
23rd Oct 2020, 1:36 AM
Deema Thnabi
Write a program to check if the number is even or odd. Take an integer input from the user, if it is even print "even", or "odd"
c++
-1 Voto
4 Respuestas
17th Oct 2020, 1:12 PM
BALAKUMAR N
Q.Make a code which take two integer as input and shows in Euclid's division algorithm with LCM and HCF.(hint: HCF*LCM = a*b)
algorithms
challenges
cpp
division
eculids
hcf
lcm
3 Votos
1 Respuesta
5th Sep 2017, 9:10 AM
Nishant Shekhar Soni
Haz una pregunta
Haz una pregunta
Haz una pregunta
Haz una pregunta
< Anterior
1
...
17
18
19
...
22
Siguiente >
En tendencia hoy
How to properly reverse a string in python
4 Votes
Can someone explain how it works (im new)
1 Votes
AI Takeover
2 Votes
Using Python on VScode
1 Votes
Python Developer
0 Votes
Average of Two Numbers
0 Votes
Hearts
0 Votes
hi my coding instor told me to make a calculator that find the average of two numbers can you pls tell me my erro
0 Votes
Pls how can I make my coding go live
1 Votes
Can I take the certificates after finished the lessons?
1 Votes