Cursos
Cursos
Compilador de Código
Compilador de Código
Discutir
Preços
Teams
Fazer login
Registrar
Menu
Q&A Discussões
Pesquisar
Pesquisar
Faça uma pergunta
Faça uma pergunta
Can you make the user input string?
c++
cin
input
string
0 Voto
3 Respostas
18th Dec 2016, 11:39 AM
AtomicComic2004
Can anyone please tell me the syntax of accepting line ( string ) as an input in c++ along with header file required for it ?
doubt
0 Voto
5 Respostas
4th Dec 2017, 4:14 PM
Bhushan Thakre
[SOLVED] Somebody please explain this :
bool
boolean
conditional
false
lower
python
solved
string
true
upper
0 Voto
14 Respostas
4th Apr 2019, 10:29 AM
Manish Kumar
simple yet a slight twist..help here out?
basic
int
java
maths
string
sum
3 Votos
5 Respostas
23rd Aug 2017, 4:23 PM
Shalmi
How do you read in characters from a string opened file and store them in 2D array? In particular, it should read ROWS lines,
#2darrays
#c++
0 Voto
3 Respostas
18th Jan 2019, 1:50 AM
Eviolet Rider
Write a function called longest which will take a string of space separated words and will return the longest one.
a
called
function
longest
of
string
take
which
will
write
0 Voto
1 Resposta
10th Jun 2018, 4:28 PM
Abiodun Mathew
I'm trying to output a function but it is an error in syntax at "if s==x"?Can you please help me?
if-statements
python
python3
string
0 Voto
3 Respostas
3rd Jul 2017, 3:39 PM
Metaphor_
How to print Strings from the longest to the shortest from table using lenght()? Java
java
lenght
string
table
0 Voto
1 Resposta
22nd May 2021, 3:44 PM
Martyna Tomaszewska
Can anyone give me optimised code in time complexity of O(n) ?
algorithms
c++
cpp
py
python3
string
1 Voto
1 Resposta
10th Nov 2019, 4:58 PM
A2G4
I have a book which says: "decimal.Decimal( ) function takes an integer or string argument but NOT float"
python
0 Voto
1 Resposta
13th Jul 2016, 10:17 AM
Adarsh Namdev
Is it possible to brake out of a scanner string input so it reads an int instead "purposely"?
a
escaping
java
string
0 Voto
1 Resposta
10th Jul 2017, 9:58 PM
D_Stark
How do I delete the last 3 lines of a file and append a new string in python3?
files
output
python3
0 Voto
1 Resposta
21st Mar 2017, 3:23 AM
Aaron Nelson
How can i fix when a user Enter a string instant of Entering a number? Help me out!
alert
html
javascript
prompt
0 Voto
1 Resposta
30th Jul 2018, 12:29 PM
Chaman Narved
i can not convert from string to int after pass the variable from another activity in android studio
android
java
0 Voto
1 Resposta
10th Jan 2018, 12:52 AM
ALAMOUDI, WAEL MAKKI S
why got it this result in compare two string? javascript
compare
false
string
true
two
0 Voto
2 Respostas
17th Mar 2020, 5:06 AM
MetaCop
Is there any return type other than void or int that can return string so that we can use this return type instead of using cout
c++
return
1 Voto
3 Respostas
20th Feb 2019, 9:50 AM
Dash
how to determine the number of pairs of a string separated by hyphens? example: "2-1-4-6-8-7" the number of pairs would be: 4
java
strings
0 Voto
2 Respostas
11th Dec 2018, 2:32 AM
Anthoni Hernandez
What is the logic behind string comparisons, why ("H">"c") is False and ("H">"C") is True? How does the case sensitivity works?
booleans
python
1 Voto
2 Respostas
19th Apr 2017, 8:27 AM
Jeffrey Wong
Create a function disp3char which takes a string as a parameter and displays all the 3 letter words of the sentence.
functions
looping
string,
1 Voto
2 Respostas
26th Jan 2018, 1:31 PM
Harsh
A bit confused with inheritance. How to assign values in sub class for string variables which are declared in super class?
inheritance
java
strings
1 Voto
2 Respostas
29th Jul 2016, 5:49 PM
Zia
Please, explain how x is a local variable and where my defined function is wrong??
from
python
remove
string
vowels
1 Voto
4 Respostas
4th Nov 2017, 4:34 AM
Abhinav
Lambda function error
format
function
kotlin
lambda
string
1 Voto
1 Resposta
10th May 2022, 6:32 AM
Akash Agrawal
Can someone help me in below code, I have used both if and switch to compare string in golang but both of them are not working
go
golang
if
ifelse
strings
switch
0 Voto
1 Resposta
17th Aug 2021, 2:05 PM
Muhammad Owais Mushtaq
How Do I assign a variable in a class by using = operator (like we do with int, string and the other data types) ?
=
c++
classes
operator
with
0 Voto
3 Respostas
7th Aug 2018, 10:01 AM
Mustafa K.
How is it possible to store incoming String data from a File into a 2D Array, by means of storing the initial incoming data into
array
file
io
java
saving
to
0 Voto
4 Respostas
23rd Apr 2017, 9:57 PM
Billy Whitchurch
Whats the use of data type string?
c++
data
string
type
1 Voto
2 Respostas
22nd Jan 2018, 3:28 PM
unknown
Can we concatenate two character and store in another char or character array to print a string in C ?
array
pointer
0 Voto
1 Resposta
7th Sep 2018, 7:48 AM
deepanshu samdani
I want to ask if there is a set of string is there like words=["Hi","Hello","Bye","See u"]and I want to print upto "Bye" then how can I do it using for loop
loops
python
1 Voto
6 Respostas
1st Dec 2016, 7:48 PM
Srinu
Challenge #8
8
challenge
left-right
reverse
string
2 Votos
3 Respostas
25th Nov 2017, 9:37 AM
Amar Dahake
3. Write a program to print the following output for the given input. You can assume the string is of odd length .
c++
java
1 Voto
1 Resposta
28th Sep 2017, 12:04 PM
karthik
Can any just tell me the code : to covert string to integer by creating a function in python?
code
functions
python3
-1 Voto
1 Resposta
1st May 2020, 12:59 PM
Sooraj Kumar.A.R
In Python how do I take the input x and y and output x,ytimes given that x is a string and y an integer
variables
0 Voto
2 Respostas
1st Sep 2021, 10:58 AM
Mikah Hannah
Can anyone plz explain this code in easy words?
arrays
c++
characters
string
0 Voto
1 Resposta
10th May 2022, 5:34 PM
Muhammad Talha Atif
Всем привет господа и дамы.
java
mysql
sql
string
website
welcome
1 Voto
1 Resposta
24th Jan 2022, 4:05 PM
Азизов И. А.
s is a string of lower case characters. Write a program that prints the longest substring of s which is in alphabatical order
dictionaries
loops
strings
2 Votos
1 Resposta
3rd Oct 2017, 11:47 AM
vivek kustwar
How can I extract letters from a single word in Python?
extract
letter
python
python3
string
word
0 Voto
3 Respostas
2nd Apr 2020, 8:02 AM
X-PLORE BIPUL
What is wrong with my code? I always get 5% wrong even when its working perfectly in IDE.
2760
5%
c++
solved
string
uri
wrong
0 Voto
5 Respostas
21st Jun 2021, 9:28 AM
Samia Haque
Write a java main () program that declares two arrays: NAMES an array of String and SCORES an array of int
2
-1 Voto
3 Respostas
1st Dec 2017, 12:10 PM
muad
[SOLVED] Can someone show me how char works
char
computer
help
int
java
lesson
letter
number
speak
string
1 Voto
9 Respostas
1st Mar 2021, 6:33 PM
Serana Zentha
Input: abc123vcx output: abcvcx123 how to print it in Java without using inbuilt functions
character
java
string
urgent
1 Voto
2 Respostas
1st Sep 2017, 5:26 AM
Mohan
Dear friends ... I am begineer in python .Regarding i have small doubt on this below code .I want to print number or string fro
python3
-1 Voto
3 Respostas
10th May 2021, 6:47 AM
Nandha kumar
SOLVED: Why is code in Python beginners course chatbot v1.1 saying error when it seems to be same as solution?
code
concatenation
error
help
python
string
1 Voto
2 Respostas
14th May 2023, 9:15 AM
Keturah Cutting
How to stop Sklearn converting values to float
bug
dtypr
float
numpy
pandas
python
python-3
sklearn
string
type
3 Votos
9 Respostas
19th Jul 2020, 2:56 PM
Clueless Coder
Why there is no output?
array
arrays
c++
help
string
0 Voto
2 Respostas
5th Oct 2019, 6:30 PM
Neon
How can i receive a string in a function returned by another function in C? is this process right?
function-arguments
functions
return
strings
0 Voto
1 Resposta
18th Jun 2020, 9:35 AM
WaYR🇧🇩
[SOLVED] For loop with setTimeout
for
javascript
loops
settimeout
string
variables
0 Voto
5 Respostas
7th Sep 2018, 11:17 AM
🌴Vincent Berger🌴
Problem with C#: User Input
c#
input
int
readline
string
user
1 Voto
3 Respostas
1st Mar 2020, 7:06 PM
William Knight
How to remove vowels in a string using one while loop and one or a couple of if statements ?
python3
0 Voto
2 Respostas
20th Apr 2017, 2:22 PM
Relo
Write a program to input a string and to count the number of vowels, consonants, words and commas in it.
python
python3
0 Voto
1 Resposta
22nd Nov 2018, 5:16 PM
iamlegend
Can anyone please explain what is java string replace all ? What is function? Where and how we use this?
java
0 Voto
1 Resposta
2nd Aug 2022, 5:59 PM
Manohar Kaloni
Faça uma pergunta
Faça uma pergunta
Faça uma pergunta
Faça uma pergunta
< Anterior
1
...
82
83
84
...
89
Próximo >
Quente hoje
SQL
3 Votes
HTML/CSS questions
0 Votes
IMAGE
0 Votes
Html
1 Votes
How can I continue with my goal if I lost all my lives?
0 Votes
How to learn css and html
0 Votes
Certificate Problem
0 Votes
Find courses
0 Votes
member initializer list : order of evaluation
0 Votes
Why rare programming languages disappeared in sololearn?
1 Votes