Toggle navigation
Courses
Questions
Tags
Users
Swaping values
3
like
0
dislike
170
views
Write a program that reads two integers and swaps their values.
Sample Input1:
1 2
Sample Output1:
2
1
Sample Input2:
-4 5
Sample Output2:
5
-4
References: C From Theory
basic
coding
[Normal]
Coding (C)
-
asked
Jan 25, 2017
in
Introduction to Computer Programming I (C)
by
The Contributor
(
20.9k
points)
ID: 21794 -
Available when:
Unlimited
-
Due to:
Unlimited
|
170
views
comment
Please
log in
or
register
to add a comment.
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English
中文
Tiếng Việt
IP:172.69.6.149©2016-2024
Related questions
2
like
0
dislike
0
answers
Find average from random values
[Normal]
Essay (Open question)
-
asked
Feb 8, 2017
in
Introduction to Computer Programming I (C)
by
The Contributor
(
20.9k
points)
ID: 21880 -
Available when:
Unlimited
-
Due to:
Unlimited
|
219
views
basic
essay
coding
arrays
3
like
0
dislike
0
answers
Open question for coding practice (English #2)
[Normal]
Essay (Open question)
-
asked
Feb 12, 2017
in
Introduction to Computer Programming I (C)
by
The Contributor
(
20.9k
points)
ID: 21926 -
Available when:
Unlimited
-
Due to:
Unlimited
|
245
views
coding
essay
basic
pointer
3
like
0
dislike
0
answers
Open question for coding practice (English #1)
[Normal]
Essay (Open question)
-
asked
Feb 12, 2017
in
Introduction to Computer Programming I (C)
by
The Contributor
(
20.9k
points)
ID: 21923 -
Available when:
Unlimited
-
Due to:
Unlimited
|
245
views
coding
essay
basic
pointer
2
like
0
dislike
0
answers
Symmetrical array
[Normal]
Coding (C)
-
asked
Feb 8, 2017
in
Introduction to Computer Programming I (C)
by
The Contributor
(
20.9k
points)
ID: 21878 -
Available when:
Unlimited
-
Due to:
Unlimited
|
270
views
basic
arrays
coding
3
like
0
dislike
0
answers
Basic array operation
[Normal]
Coding (C)
-
asked
Feb 8, 2017
in
Introduction to Computer Programming I (C)
by
The Contributor
(
20.9k
points)
ID: 21874 -
Available when:
Unlimited
-
Due to:
Unlimited
|
225
views
basic
coding
arrays
12,783
questions
183,443
answers
172,219
comments
4,824
users