Курсы
Курсы
Компилятор кода
Компилятор кода
Обсуждения
Цены
Teams
Войти
Регистрация
Menu
Обсуждения
Поиск
Поиск
Задать вопрос
Задать вопрос
What's wrong with the code.. if I enter n value as 1 or 2, it prints some garbage value.. why it is so ?
cprogramming
0 голосов
1 ответ
25th Mar 2021, 3:40 AM
Ashu Williams
Create 5 workers concurrent print out numbers from 1 to 1000. Note: for the whole result each number only can display once only.
c#
0 голосов
1 ответ
1st Apr 2020, 4:37 AM
Yen San
I tried installing kivy in my laptop , but its showing error "command errored out with exit status 1 using python 3.8 ans win10
k
python
0 голосов
2 ответов
23rd Apr 2020, 8:39 AM
wave worth music
Can I create 2d or 3d matrices just by declaring it's elements one by 1 in loop like a[i][j] by looping I and j? (In python)
lists
2 голосов
2 ответов
25th Dec 2017, 4:17 AM
Shreyas Ganapathï
print all the numbers that do not exceed n the natural number and will give 1 balance when delivering each one on 2
a
help
i
need
0 голосов
1 ответ
11th Dec 2018, 10:54 AM
Arsen
How can I make a button that when I clicked on it it write's 1 and when I clicked on it again it get's 2 and...
help
1 голос
3 ответов
9th Feb 2018, 9:50 PM
Sina
You need to calculate the points earned by a soccer teamThe team won 18 games and ended 7 games as a draw.A win brings 3 while 1
python
0 голосов
2 ответов
4th Mar 2022, 5:46 PM
Ajitkumar Singh
Use a while loop to calculate the sum of all numbers from 1 to 1000 . Make it print only the sum, not the intermediate values.
java
1 голос
3 ответов
16th Jan 2018, 8:15 AM
Tanmay Sarkar
i created a programe for printing all prime no between say 1 to 100 now i want to store all that in an array,how to do that?
c++
0 голосов
5 ответов
10th Aug 2016, 6:43 PM
Tarun kumar parashar
write a function named nval that take 2 integer argument and return 1 if they have same number of factors. retur -1 if is negtif
me
0 голосов
2 ответов
22nd Jun 2019, 11:23 AM
Sifa Ngelelo
What is kind of out put for Number
1
10
from
number
progress
to
-1 голос
3 ответов
19th Sep 2021, 7:01 AM
Mosab Abdo
In c++ how do i build up variables for 1 letter and then when i have that letter as input it should pick one of the variables
c++
0 голосов
3 ответов
23rd Jun 2020, 6:00 AM
C0D3 BU113T
how can i link from one file html to another, if im using phone, i mean, i create 2 file html, then from 1 to other file thanks
link
1 голос
2 ответов
8th Aug 2021, 10:29 AM
anis
Write a program that takes an integer number n as input and find out the sum of the following series up to n terms. 1 + 12 + 123
c
1 голос
4 ответов
16th Dec 2020, 12:28 PM
Tousif Riyad
Массив arr из двадцати элементов сформ-ван : for i := 1 to 20 do arr[i] := (i - 8) * (i - 8); Чему равна сумма больш. меньш мас
help
2 голосов
4 ответов
22nd Nov 2022, 9:52 AM
Максим
Does anyone can help me?You need to make a countdown app. Given a number N as input, output numbers from N to 1 on separate lin
count
0 голосов
2 ответов
14th May 2022, 4:38 AM
Milad sadeghi
i = 0 / while i<5: / i += 1 / if i==3: / print("Skipping 3") continue / print(i). code starts at "1" and prints 5 why?
loops
1 голос
2 ответов
27th Apr 2022, 1:01 PM
Israel Ebiti
What Is better for ethial hacking: C++ or C#
1
2
3
5
hacking,
help
me
plsbro
0 голосов
17 ответов
25th Feb 2018, 6:56 PM
1337 H4x0r
why doesn't making line 4 " if i == 2 or 3:" cause the output to be 1 skipping 2 skipping 2 4 ... ?
loops
python
0 голосов
3 ответов
17th Aug 2016, 2:11 AM
Coleman Alexander
when reaching num value to 1 then the method called again and and again with argument 0 (num-1) then how it is working
c#
recursion
0 голосов
1 ответ
4th Jul 2016, 6:10 PM
Seenivasan
I need to give input twice to get output, where do i need to fix the code?I need to find the count and sum of given number 1 inp
c
0 голосов
5 ответов
3rd Jul 2021, 5:40 PM
Siyam
How can it be infinite if there stayed while 1 == 1: Because after first time "i" would be 2 and it's not any more while true: ?
loops
0 голосов
4 ответов
5th Nov 2018, 12:52 PM
Benzema
Why we write as 'return 0' at the end of the code? Even though I write as return 1 or return 100 or return 1000 it gets executed
c++
2 голосов
4 ответов
13th Oct 2017, 4:18 PM
Manikanta
How to get the input in following code in straight line like. 1 25 + 5 2 30 please tell how to get output in only twolin
python
python3
0 голосов
2 ответов
21st Jan 2021, 4:42 AM
Shlok Jathar
In a c++ project i was supposed to do data file handling in 3 programs and combine them into 1 Its there in my codes Thanks
c++
data-file-handling
2 голосов
2 ответов
29th Apr 2017, 10:48 AM
Mayank Srivastava
when generating randomly 2 numbers in c++ between 1 and 3 what i have to do if i don't want the first nb to be == second nb
c++
0 голосов
3 ответов
8th Dec 2020, 9:21 AM
nano
how do I ensure that a user does not input a number less than 1 or greater than 10 in this code. int a; cin>>a;
c++
1 голос
2 ответов
26th Dec 2016, 6:56 AM
Cody Arthur
i take it we are finding random integers within 1 and 6 here? also is random a real module or just used as an example for us to
modules
python
1 голос
3 ответов
25th Jan 2020, 4:11 PM
Corola
Task 1 What are the chances of at least two people sharing the same birthday (just day and month) in a class of 40 people (s
java
0 голосов
2 ответов
20th Nov 2018, 2:03 PM
Solomon Appiah
Assume we want to design a logic circuit with three inputs x, y, and z. The circuit output should be 1 only when x=1 and either
boolean-logic
0 голосов
2 ответов
25th Sep 2020, 5:26 PM
abiso_ csa
Why can't I get a user to be able to input 1 or 2 to select which function to use via class and object?
and
bad
coding
math
probably
0 голосов
2 ответов
19th Oct 2017, 3:01 AM
Patrick
I made a tic tac to programm, but my problem is that when player 1 played, the map is reset when player 2 plays...
python
0 голосов
2 ответов
22nd Jan 2017, 6:05 PM
Marv
I want to create a new CSV file and inside that; i want to store values from a=[1,2,3,6] as column 1 and b=[2,4,6,9] as column 2
python3
1 голос
1 ответ
15th Jun 2019, 3:22 AM
vinay
Why are tests 3,4,5 hidden? This code works on 1 and 2 but not on 3,4,5 and I'm unable to submit it because of that. Any ideas?
basics
code
python
0 голосов
2 ответов
6th Nov 2022, 1:18 PM
Stefan Ambrose
In c++ how would I create a code thad if I input A it gives an output of 1 and for B - output 2 ?
c++
0 голосов
1 ответ
7th Nov 2022, 8:22 AM
Sarel
Need a program To find the missing num in a sorted array of 1 to 10 nmbrs. lyk dis array = (1,2,3,4,?,6,7,8,9,10) and o/p as 5
missing_num
sorted_array
0 голосов
3 ответов
27th Jul 2017, 3:19 PM
Mohammed Suhail
Hi my friends . In this sample $x=1 and should run case 1 echo one . But run all of case . Why print all of cases ?
break
0 голосов
4 ответов
22nd Jun 2018, 4:56 AM
Seyyed Reza Rastbod
The program needs to output the numbers 1 to 9, each on a separate line, followed by a dot: 1. 2. 3. Using \n or """
beginers
for
python
0 голосов
2 ответов
26th Apr 2022, 3:57 AM
Nibir Nath
def factorial(n): print("factorial has been called with n = " + str(n)) if n == 1: return 1 else: res = n * factorial(n-1) print
functions
recursion
0 голосов
1 ответ
15th Jun 2020, 2:34 PM
Basemalzwawi Alzwawi
Why Entering 1-10 Will Realize 1 2 3 4 5 6 7 8 910. I know it's caused by%2d, but I don't know why this is the case.
language-c
0 голосов
3 ответов
9th Mar 2020, 4:29 AM
Por_Libereco
write c++ a program to read an integer from 1 to 12 and print out the value of the corresponding month of the year?
1to12
-4 голосов
2 ответов
3rd Jul 2021, 6:22 AM
ganate ahmed
Diseñar el algoritmo y codificar en lenguaje C, del programa para generar la serie y hallar la sumatoria de N términos: S= 1 -
c++
0 голосов
1 ответ
5th Dec 2018, 7:24 PM
Viviana Cayo Alanoca
Write the code such that player 1 will enter numbers of names before he is prompted to enter the names according to the number
loop
0 голосов
1 ответ
29th Oct 2018, 1:10 AM
unyime enangudo
Write a program that prompts the user to enter the minutes (e.g., 1 billion), and displays the number of years and days for the
-4 голосов
3 ответов
14th Apr 2017, 8:20 AM
ike Abek
How to Convert This C# Code Into Python Code?
1
c#
code
csharp
memory
python3
sololearn
0 голосов
1 ответ
30th Nov 2020, 10:36 AM
Haikal Dz
Why this code giving different answer when i = 1 . Please give me logical reason . And how to that we have to put i=0 or i=1 ?
c
loops
prograam
1 голос
2 ответов
8th Mar 2022, 8:40 AM
Abhay mishra
Drag and drop from the options below to create a LinkedList, add "Hey", and print it. <String> list = new LinkedList ();
"bye"
"hey"
<string>
0
1
arraylist
linkedlist
solutions
0 голосов
4 ответов
6th May 2018, 1:12 AM
Asem Abdu Ahmed AL jadwh
How do I make a table using semantic markup that has 3 columns and 1 row in the body as well as a row in the header
html
tables
-1 голос
4 ответов
16th Jul 2017, 4:59 AM
Heather Reneé Tobler
syntax to write a program to perform addition, multiplication and division of two numbers ,12 and 5 can some 1 help me out with this
Arithmetic
basics
java
urgent
0 голосов
2 ответов
23rd Oct 2016, 9:03 PM
Kenneth Iheanyi
How can we merge two list so that it includes all elements of list 1 and only elements from the list 2 which are not in list 1.
lists
merge
python
4 голосов
1 ответ
21st Jan 2018, 3:23 AM
Rahul Dwiwedi
Задать вопрос
Задать вопрос
Задать вопрос
Задать вопрос
< Предыдущий
1
...
38
39
40
41
Следующий >
Актуальное сегодня
The hidden trap in python function
4 Votes
How to create games and it to Play store
2 Votes
What is a web browser intension?
1 Votes
Python loops
1 Votes
Web page
1 Votes
Percobaan
0 Votes
Mentors
0 Votes
Time up code for coding in data help
0 Votes
Codding lern
0 Votes
Postgrrsql and python
0 Votes