¡Nuevo curso!
¡Todo programador debería aprender
IA Generativa!
Prueba una lección gratuita
Cursos
Cursos
Compilador de Código
Compilador de Código
Debatir
Hazte Pro
Teams
Iniciar sesión
Registrarse
Menu
Sesiones de PyR
Buscar
Buscar
Haz una pregunta
Haz una pregunta
Write a programs in c++ that exchange data using swap function to interchange the given two number
output
0 Votos
2 Respuestas
29th Jul 2017, 4:47 AM
PIYUSH CHITATWAR
Try to develop a snippet to swap two numbers without using third variable and must use single statement .
c
c++
java
javascript
python3
1 Voto
3 Respuestas
28th Aug 2017, 5:47 PM
Pooja Murugesan
How to write a C Function to swap elements of 2 arrays according to the smallest array in size
arrays
c
code
swap
0 Votos
1 Respuesta
14th Oct 2018, 12:24 PM
Aisha Ali
Write a programm in python to read 3 numbers in 3 variables and swap the first two numbers with sum of 1st and 2nd &2nd and 3rd
float
print
2 Votos
3 Respuestas
15th Jul 2018, 8:30 AM
Sushmita
Input a list of numbers and swap elements at the even location with the elements at the odd location.please tell any other appro
python
python3
1 Voto
3 Respuestas
30th Jan 2022, 5:12 PM
Aditya Pradhan
String has combination of vowels and consonants.if there are any two vowels are adjacent to each other then swap those two vowel
java
1 Voto
3 Respuestas
28th Sep 2018, 3:29 AM
Nagapavan
How many stacks do we want if we need to swap 2 stacks members in the same order?
data
stack
struture
swap
0 Votos
2 Respuestas
17th Jun 2017, 2:40 AM
Khaled Mohammed Saif Alselwi
I don't understand the logic behind swapping without temp var, plz help.
c#
reference
swap
0 Votos
2 Respuestas
7th Feb 2019, 6:51 PM
Scadian Force
The problem is finding the smallest and largest number of 10 inputs. Then swap the position of the largest and the smallest num
c
0 Votos
2 Respuestas
24th Oct 2022, 6:57 AM
NPCcode
Input a four digit no. & Swap the first & last digit of no. And second & third digit will remain same
python
0 Votos
3 Respuestas
22nd Jul 2018, 1:02 PM
Ayush Verma
A C++ Program To Swap Two Numbers x and y if x is greater than y. Output both numbers
c++
0 Votos
1 Respuesta
30th Apr 2020, 9:45 AM
Nathaniel Kwaku Awenate
The program accepts unique integers x y and z as input.The program must swap the largest and second largest integers and print
above
c
in
program
solve
the
-1 Voto
4 Respuestas
11th Jan 2019, 1:44 PM
Padmapriya Ravichandran
Swap 2 Nibbles in a byte & find the output of the swapped Nibbles after converting a Decimal Number to a Binary Number.
javascript
python3
0 Votos
2 Respuestas
23rd Jan 2020, 3:22 PM
Prithvi
Why does swap function from stl when used in selection sort increases the execution time from 19900 ns to 2 ,3 times much?
c++
2 Votos
2 Respuestas
5th Oct 2020, 11:53 AM
Abhay
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 Votos
6 Respuestas
21st Jan 2017, 9:10 AM
jabar
Challenge :: Make a program to convert case of every character in a string.
c++
case
challenges
string
swap
3 Votos
9 Respuestas
23rd Jan 2018, 9:35 AM
Clay Jensen
How do you know which value to enter in the method of value swap?
c#
methods
swap
0 Votos
1 Respuesta
26th Aug 2019, 12:38 PM
Ray K'lo Cannon
Changing dictionaries into some list? and swapping key with value
dictionaries
key
list
pyhton
swap
value
9 Votos
2 Respuestas
23rd Jun 2018, 8:30 PM
Muhammad Hasan
How can I solve this problem?
bits
bytes
c
functions
swap
1 Voto
7 Respuestas
6th Sep 2018, 2:33 AM
Retag Tarek
Swap. Final exam preparation question *question is in the answer section***
c++
functions
pointers
swap
vectors
4 Votos
6 Respuestas
2nd Dec 2017, 11:09 AM
F7917795
Can someone help me to create a program which take two variable and swap them with the help of a temporary variable.
c++
cin
cout
0 Votos
2 Respuestas
25th Jul 2016, 1:29 AM
himanshu ramawat
Is there a list function that swaps two items in a list?
functions
list
list-functions
swap
2 Votos
1 Respuesta
20th Feb 2017, 2:30 AM
Erik Johanson
A coding challenge using exponents
challenge
code
cube
digit
half
last
pair
square
swap
8 Votos
6 Respuestas
11th Dec 2022, 11:22 AM
GiantJupiter
Given a table SALARIES, such as the one below, that has m = male and f = female values. Swap all f and m values (i.e., change al
challenge
0 Votos
1 Respuesta
21st Dec 2016, 5:24 AM
Akwin Lopez
String move?
algorithm
c#
move
string
swap
0 Votos
1 Respuesta
7th Aug 2017, 5:15 PM
Amirali nedaee
Cam someone clearly explain why 'int &x' takes the value of a not 'int x'
by
c++
pass
pointers
reference
swap
1 Voto
2 Respuestas
9th Mar 2018, 8:46 AM
Neeraj Jadhav
[C++ Help] I'm trying to conversion by using vector and string but when loop back it error
c
c++
capitalize
conversion
do-loop
erase
name
string
swap
vector
1 Voto
3 Respuestas
27th Oct 2019, 4:04 AM
Phuc Hoang Trinh
Haz una pregunta
Haz una pregunta
Haz una pregunta
Haz una pregunta
< Anterior
1
...
3
4
Siguiente >
En tendencia hoy
How to cast in python
2 Votes
Python
1 Votes
Invitation to join open-source project.
7 Votes
Does casting not adjust the pointer in c++
3 Votes
Hey, I need help solving this problem!
1 Votes
HTML Module 3 Quiz
1 Votes
Hello, Can anyone tell me that when Android & Kotlin course will be available in App?
1 Votes
Why does my image tagname not work.
0 Votes
How can I make an hyperlink with a Sololearn project
2 Votes
Field name in ef core
0 Votes