Новый курс!
Каждый программист должен знать
генеративный ИИ!
Попробуйте бесплатный урок
Курсы
Курсы
Компилятор кода
Компилятор кода
Обсуждения
Sololearn PRO
Teams
Войти
Регистрация
Menu
Обсуждения
Поиск
Поиск
Задать вопрос
Задать вопрос
Write a programs in c++ that exchange data using swap function to interchange the given two number
output
0 голосов
2 ответов
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 голос
3 ответов
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 голосов
1 ответ
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 голосов
3 ответов
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 голос
3 ответов
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 голос
3 ответов
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 голосов
2 ответов
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 голосов
2 ответов
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 голосов
2 ответов
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 голосов
3 ответов
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 голосов
1 ответ
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 голос
4 ответов
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 голосов
2 ответов
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 голосов
2 ответов
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 голосов
6 ответов
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 голосов
9 ответов
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 голосов
1 ответ
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 голосов
2 ответов
23rd Jun 2018, 8:30 PM
Muhammad Hasan
How can I solve this problem?
bits
bytes
c
functions
swap
1 голос
7 ответов
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 голосов
6 ответов
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 голосов
2 ответов
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 голосов
1 ответ
20th Feb 2017, 2:30 AM
Erik Johanson
A coding challenge using exponents
challenge
code
cube
digit
half
last
pair
square
swap
8 голосов
6 ответов
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 голосов
1 ответ
21st Dec 2016, 5:24 AM
Akwin Lopez
String move?
algorithm
c#
move
string
swap
0 голосов
1 ответ
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 голос
2 ответов
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 голос
3 ответов
27th Oct 2019, 4:04 AM
Phuc Hoang Trinh
Задать вопрос
Задать вопрос
Задать вопрос
Задать вопрос
< Предыдущий
1
...
3
4
Следующий >
Актуальное сегодня
Invitation to join open-source project.
12 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
Bits
4 Votes
Why does my image tagname not work.
0 Votes
How can I make an hyperlink with a Sololearn project
2 Votes
How to cast in python : 2
0 Votes
Field name in ef core
0 Votes
This error is showing.
0 Votes