Created
August 11, 2020 11:16
-
-
Save rchaganti/33b2cbf4fc121999d38c6ead7911eecd to your computer and use it in GitHub Desktop.
D3 Swap Variables
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Create a program that declares two integer variables i and j and assigns values 10 and 30. | |
Print the values of these variables. Add an expression to swap the values of the variables using assignment operator. | |
Finally, print the values of the variable values after swapping. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
package main
import (
"fmt"
)
func main() {
}