answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: How do you write a program swaping of 2 integer?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you write c program to test that an integer number is divisible by 2?

int isDivisibleByTwo(int N) return N % 2 == 0;


Write a program to compute the sum of first ten integer numbers in PHP?

$n = 10*(1+10)/2;


How do you write 2 million as an integer?

2,000,000 an integer is any whole number


Write a program that counts by powers of 2 in visual basic?

TextBox1.Multiline = TrueDim amount As Integer = 200For index As Integer = 1 To amountTextBox1.Text = TextBox1.Text & " " & index ^ 2 & ","Next~Note: make sure you have a textbox called textbox 1


Write a program in vb to check whether a no is prime or not?

Function isPrime(ByVal n As Integer) As Boolean If n < 2 Then Return False End If Dim sqrtn As Integer = Math.Sqrt(n) + 1 For i As Integer = 2 To sqrtn If (n Mod i) = 0 Then Return False End If Next Return True End Function


What is two strokes over par in integers?

What is 2 strokes under when writing an integer?


Write a program to convert a 2 digit BCD number into hexadecimal number?

Write a program to convert a 2-digit BCD number into hexadecimal


If j is an odd integer write an expression to represent the product of j and the next consecutive odd integer?

(j)*(j+2)


2 Write a program to convert a 2-digit BCD number into hexadecimal?

WRITE A PROGRAM TO CONVERT A 2-DIGIT bcd NUMBER INTO HEXADECIMAL


How do you write a integer?

Integers only just need to be put with no negative signs. You do not need a special symbol, just eliminate negative signs in front of the number is there are any. Example: integer of 6 = 6 integer of -2 = 2 integer of -1025614 = 1025614 integer of 93 = 93


Write a program which Print out all the integer from 5 down to -5?

10


Could you Write a program for 8086 microprocessor that displays on the monitor the average of 2 numbers from an array?

How to write a program for mouse in microprocessor?