answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: How do you swap two variables using third variable in flow chart?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you swap variables in PHP?

By using a third temporary variable. $tmp = $a; $a = $b; $b = $tmp;


How do you write a program in C plus plus plus plus How do you write a program in C to swap two variables without using the third oneo swap two variables without using the third one?

To swap two variables without using a third variable, use exclusive or manipulation... a ^= b; b ^= a; a ^= b;


What is the difference between controlling variables and using controls?

Controlling variables is when you make sure that only one variable is being tested at a time and that there are not other variables that will make your results unclear. Using a control is when you do a trial without the variable to see what the normal results are.


How can you devise a way to interchange two variables A and B without using a third variable or register using Exclusive OR?

A = A xor B B = A xor B A = A xor B in C... A^=B; B^=A; A^=B;


How can you find a variable in math?

You find, or construct, an equation or set of equations which express the unknown variable in terms of other variables. Then you solve the equation(s), using algebra.You find, or construct, an equation or set of equations which express the unknown variable in terms of other variables. Then you solve the equation(s), using algebra.You find, or construct, an equation or set of equations which express the unknown variable in terms of other variables. Then you solve the equation(s), using algebra.You find, or construct, an equation or set of equations which express the unknown variable in terms of other variables. Then you solve the equation(s), using algebra.


What is the advantage of swapping two variables without using 3 variable?

Nothing. Never do that.


How do you solve variables on both sides equation using integer rules?

You first have to get rid of the numbers that don't have variables. then you divide by the variable and solve for it.


Swapping of number with using third variable?

To swap two numbers N1 and N2, using a third variable T... T = N1; N1 = N2; N2 = T;


What could be an advantage of using more than one line on a line graph?

It allows you to compare two dependent variables when they are related to the same third variable (which may or may not be independent). For example, you could look at the heights and masses of a group of people, with age as the independent variable.


What is independent variables?

an independent variable is a variable that changes the dependent variable.___________________________________________________Independentvariableis:a factor or phenomenon thatcausesorinfluencesanotherassociatedfactor or phenomenon called adependent variable. For example,incomeis an independentvariablebecause it causes and influences another variableconsumption. In a mathematicalequationormodel, the independent variable is the variable whosevalueis given. In anexperiment, it is the controlledcondition(that is allowed tochangein asystematicmanner) whose effect on thebehaviorof a dependent variable is studied. Also calledcontrolled variable,explanatory variable, orpredictor variable.


Write a programme to exchange the content of 2 variables using another variable?

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


What are the advantages of using pointers in a program?

pointers points to the memory address of another variable.....in functions we have two kind of variables the actual and dummy variable. when we operate on variables..the value of dummy variables are effected, but if we want to make changes in the actual variable then we have to refer to their address..and we can reach to address of the variables by only using pointers.