answersLogoWhite

0


Best Answer

t=x; /* t is the other variable */
x=y;
y=t;

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Write a programme to exchange the content of 2 variables using another variable?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is another name for independent variable?

independent variable called also predictor variables,explanatory variables,manipulated variables etc.


Is there another word for dependent variable?

another name for variables is factors


What is the other name of global variables?

Another name of global variable is "EXTERNAL VARIABLES".


In an experiment what are the controlled variables?

The variable YOU change which will in turn effect another variable (the dependent variable). The controlled variable is plotted on the x - axis of a graph.


What are cause and effect variables?

Cause variables are factors that directly influence or produce an effect on another variable. Effect variables are outcomes or results that are influenced by the cause variables. Understanding the relationships between cause and effect variables helps to analyze and predict how changes in one variable impact another.


What is Variable Shadowing in Java?

In Java, there are three kinds of variables: local variables, instance variables, and class variables. Variables have their scopes. Different kinds of variables have different scopes. A variable is shadowed if there is another variable with the same name that is closer in scope. In other words, referring to the variable by name will use the one closest in scope, the one in the outer scope is shadowed.A Local Variable Shadows An Instance VariableInside a class method, when a local variable have the same name as one of the instance variable, the local variable shadows the instance variable inside the method block.


Define variables in maths?

a variable is a letter that stand for another number


What does variable held constant mean?

The distinction between these two types of variables is whether the variable regress on another variable or not. Like in a linear regression the dependent variable (DV) regresses on the independent variable (IV), meaning that the DV is being predicted by the IV. Within SEM modelling this means that the exogenous variable is the variable that another variable regresses on. Exogenous variables can be recognized in a graphical version of the model, as the variables sending out arrowheads, denoting which variable it is predicting. A variable that regresses on a variable is always an endogenous variable even if this same variable is used as an variable to be regressed on.


What is the difference between variables and factors in scientific terminology?

A factor is a type of variable. Usually, "factor" is another word for the independent variable. But it can be any variable that is a part of or contributes or leads to another variable.


How to identify independent and dependent variables in an experiment?

If changes in one variable do not affect the outcome of another variable, then the second variable is independent. A variable that is not independent is dependent.


What is meant by variables?

A variable is a characteristic which can change from one observational unit to another.


When an experiment shows that one variable makes another variable change and no other variables have an effect the experiment shows?

causation