Cursos
Cursos
Compilador de Código
Compilador de Código
Debatir
Teams
Iniciar sesión
Registrarse
Menu
Sesiones de PyR
Buscar
Buscar
Haz una pregunta
Haz una pregunta
Why this code is not running... Plz help me to run this code. It will print max no. among 6 no.s
max
print
1 Voto
4 Respuestas
15th Jul 2019, 6:22 PM
Mohit Keshwani
print("total no. of chances 9") no_chances= 9 l_chances=9 n=int(input("guess the number")) while (l_chances==0): if n>16 :
and
solve
0 Votos
1 Respuesta
16th May 2020, 5:11 PM
Shubham Sharma
How to get total no. of days excluding fri and sat between two dates in JavaScript?
javascript
0 Votos
1 Respuesta
24th Feb 2017, 9:51 PM
Salman Mushtaq
Input a string and give the no. of vowels and also displays them in the output screen.
c++
ques
string
vowels
0 Votos
2 Respuestas
27th Aug 2017, 2:56 PM
Arshiyan Rahman
What's wrong here. Iwant to check whether the number is disarium no. or not. Disarium no is like 135. (1^1 + 3^2 + 5^3=135)
java
0 Votos
6 Respuestas
14th Sep 2021, 4:27 PM
Sparsh Srivastava
outputs avg length ofword in the sentence and rounds it to the next whole no. ........but when I input- Can you not do that?
python3
strings
2 Votos
4 Respuestas
15th Jun 2020, 7:12 AM
Abhijit
Code is for counting the no. Of elements ocuring once or more. I wan to ask why after the first element its counting wrong??Help
python3
1 Voto
3 Respuestas
8th Dec 2020, 3:01 PM
Yogesh
I hv initialized the value...still it's asking the value or input. I m making prgrm to multiply 2 no.
a
0 Votos
3 Respuestas
18th Jan 2018, 7:28 PM
Deepak Bhalode
Write a program that gives us no. Of 1's and 0's when we enter a decimal no?
c++
-3 Votos
2 Respuestas
24th Oct 2017, 9:27 AM
Rashid Nazeer Khan
Please help me to write a program to check wether no. Is in ascending order or not
help
please
-1 Voto
1 Respuesta
16th Jun 2020, 6:39 AM
Devansh Mishra
Write a c++ program to print and count the no. Of characters repeated in an string separately
strings
-1 Voto
1 Respuesta
24th Oct 2017, 4:40 PM
Anurag Pathak
I want user to give inputs and count no. Of zeroes,(+)ves,(-)ves entered..But it is taking just one i/p and displays the result.
buffer
fflush
input
loop
stdin
1 Voto
4 Respuestas
23rd Feb 2018, 12:53 AM
Nikhar Sachdeva
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
Using switch case write a program to display month serial no. And display month ne using switch case
c++
0 Votos
2 Respuestas
26th Sep 2017, 6:32 PM
kishan
Print a no. Whose unit digit is zero and divisible by 4 and whose first digit is 2 in phython
else
if
0 Votos
1 Respuesta
28th Nov 2020, 6:15 AM
Rahul
Write a program to check whether a the square root of a no. is prime or not? #python
python
question
0 Votos
1 Respuesta
19th Aug 2018, 3:14 AM
Shantanu Bindhani
this is code of armstrong no. by take something return something method but errors are coming please suggest ways to correct it
c
0 Votos
2 Respuestas
14th Jul 2020, 9:11 PM
unnati priya
Bug [ I am having error in this code (Listed Below) in line no. 9 in js file. ]
html
javascript
0 Votos
2 Respuestas
6th Nov 2017, 3:19 PM
~Sudo Bash
What does it means when string is multiplied by a no. like "2"*3+5+"6".Is string is multiplied as a no.coz it can't concatenate.
java
1 Voto
3 Respuestas
9th Feb 2018, 11:36 PM
Manpreet Singh
If a number is equal to reverse of that number (say 12321) . java accepts palindrome or not. Give a reason if your answer is no.
java
palindrome
4 Votos
2 Respuestas
22nd Jun 2018, 4:53 PM
suman Kayal
There is a question of finding no. of changes made in a list, I am novice. Can you find errors please
python3
0 Votos
1 Respuesta
26th Feb 2019, 6:17 AM
Nikhil Tale
Write a program to input integer no. from the keyboard and check if it is divisible by 3 and 5. Plz check my program in c langua
c
c#
c++
0 Votos
4 Respuestas
30th Mar 2020, 5:37 AM
Khushi Gupta
Make a program in which If the no. Is even then divide by 3 and when the no is odd then multiply by 7
c++
program
0 Votos
4 Respuestas
23rd Jun 2017, 3:02 PM
Sakshi Gupta
Ask user think of a no. then you need to guess that no.then find whether that guess is too far or near and count the attempts
randomnumber
0 Votos
4 Respuestas
11th Sep 2018, 5:03 PM
Shivyaaa
Hey guys tell me that how we can get the no. Of times the loop executed means how many times loop executed
java
0 Votos
1 Respuesta
3rd Nov 2019, 12:06 PM
Gill Shiv
I wanted to first increase a no. From 1 to 5 and then decrease it to 1 again using the same loop,but it isn't working.Pleasehelp
c
language
1 Voto
3 Respuestas
1st Sep 2017, 1:32 AM
Deepank Puri
Write a html program to create a form to accept student roll. No. , unit test marks "max 30", terminal exam marks "max 80" marks
no
0 Votos
2 Respuestas
4th Jun 2024, 3:43 PM
Krushna
If we want that our computer asks for a no. or a string 2 times, how to do it by using cin >>?
c++
1 Voto
2 Respuestas
12th Apr 2017, 2:11 PM
Rahul Sonia
Can anyone help me out with this program in Java? ->To accept N numbers of decimal no. from using 1D array .
bluej
conversion
decimal
hard
hexadecimal
java
program
sorting
0 Votos
1 Respuesta
14th Jun 2018, 4:44 PM
Lincoln
prog. to point out theLargest , 2ndlargest ,smallest & 2ndsmallest no. in array to the Dynemic memory alloc. & using constructor
allocation
c++
constructors
dynamic
memory
1 Voto
1 Respuesta
30th Oct 2017, 2:01 PM
Vijay Saini
Python why does the below codes input popup show "split multiple input into seperate lines" instead of "enter 1st no. And 2nd no
input
python
0 Votos
1 Respuesta
14th Jun 2020, 3:56 AM
DHIVYARAJESRI
What is the error in this code guess=int(input('i am taking no. between 1 and 101 \n enter guess between 1 and 101 : '))
python
0 Votos
1 Respuesta
6th Mar 2019, 9:28 PM
smart dheeraj
How can I convert an no. into digits in array,ex. If i get 1234 as a number i need to get itas single digits 1,2,3,4 in array?
arrays
java
0 Votos
2 Respuestas
6th Feb 2020, 6:11 AM
R.Abinaya
Write Java applet to insert the roll no. of student using HTML tag and it with Applet viewer in front of the message
java
0 Votos
1 Respuesta
4th Apr 2017, 8:57 AM
Avinash Mhatre
College take no. Of groups of students as(N) and students has to get in a hyperloop which has single (S)or double (D)seat pod.
input
java
output
python3
strings
0 Votos
1 Respuesta
16th Jan 2018, 3:47 PM
Nikhil Kohli
how to write a program using arrays to store the names & phone no.s of 75 people & to print no. Of of any name entered?
java
1 Voto
2 Respuestas
3rd Mar 2017, 6:57 AM
Alok Agarwal
How do we write up and store precision figures in a no. that contains trailing zeroes after decimal ? Example how to store 9.10
data-types
decimal
float
storage
value-types
zeroes
0 Votos
1 Respuesta
14th Jul 2019, 11:48 AM
Farhan Khan
Why cant i use mod operator to find remainder of a floating point no. Divided by any no even when we use floating point datatyp
c++
operators
0 Votos
2 Respuestas
19th Aug 2017, 2:25 AM
Harsh Wellengsly
WAP in c++ a class name item that contain 2 variable and cost in pvt sec & put and create a obj in main print no. Of cost
c++
classes
function-arguments
functions
generators
objects
print
public
0 Votos
1 Respuesta
18th Jun 2021, 3:20 AM
Kartik Yadav
there are 9000 in a town whose population increases by 15%each yr. write a program that displays the annual population and determines the no. of yrs it will take for the population to surpass 50000
c++
3 Votos
2 Respuestas
22nd Sep 2016, 2:15 AM
Meena
What is code to display two rand no. as output and also to display their sum result on the same screen. The code I hav nt workin
constants
php
0 Votos
1 Respuesta
11th Jan 2017, 4:51 PM
Ravi bhushan
Who to code number of rows and columns in html5
and
columns
forms
html
html5
no.
of
rows
to
who
write
2 Votos
4 Respuestas
26th Mar 2017, 5:23 PM
Shailender Singh
#include <iostream> using namespace std; int main() { int b[]; int i=0,sum=0; while(cin>>b[i]) {sum=sum+b[i]; i++;} cout<<sum<<endl; }//what is wrong in this code //how can I take multiple inputs into an array //I want to take unknown no. Of inputs
c++
0 Votos
4 Respuestas
16th Sep 2016, 5:21 PM
prasanth pra
why the answer of this code is [0, 1, 4, 9, 16, 25, 36, 49, 64] and not [0, 1, 4, 9, 16, 25, 36, 49, 64, 81] and iam remember that -1 starts from the last no. in the list , then why the answer is not include 81????
lists
python
0 Votos
3 Respuestas
4th Aug 2016, 5:31 PM
Ahmed Kamal
Haz una pregunta
Haz una pregunta
Haz una pregunta
Haz una pregunta
< Anterior
1
...
4
5
Siguiente >
En tendencia hoy
How to get better with problem-solving and programming
2 Votes
Odd even threads without condition variable
0 Votes
Ejercicio Pytho
0 Votes
What is that z for
0 Votes
Bug on "Java for Beginners Module 3 Quiz"
1 Votes
Suggestions needed
4 Votes
Write a program to find the strings are in isogram or not
0 Votes
What's wrong with this code ? ( Beginner)
1 Votes
Please rate my code from 1 to 10
2 Votes
How to start
0 Votes