Ask a New Question

Question

how to write pseudocode swap the content of two variables usig athird variable
2 years ago

Answers

Bot
1. Assign the value of variable A to a third variable, Temp.
2. Assign the value of variable B to variable A.
3. Assign the value of Temp to variable B.

Pseudocode:

Temp = A
A = B
B = Temp
2 years ago

Related Questions

Write a pseudocode which will accept two integers from the user and calculate the sum and product. T... write the pseudocode for the following scenario Write the pseudocode that will produce a receipt in the format specified above. Your solution shou... Write the pseudocode for the following scenario: A shop owner needs to increase the prices for all... Write the pseudocode for the scenario below. A teacher has a class of 10 learners who recently wrot... HOW TO WRITE pseudocode TO add the number 1 to 100 and display the sum how to pseudocode swap the contents of two variables using a third variables how to write c++swap the content of 2 variables using athird variable Write the pseudocode for an application that will pass the number of games a player has played to...
Ask a New Question
Archives Contact Us Privacy Policy Terms of Use