Write a program to swap the values of two variables. The program will ask the user to input variables x and y with numerical values. You must write code that exchanges their values: the value of x after your code runs must equal the value that y had before your code ran, and the value of y after your code runs must equal the value that x had before your code ran.
寫一個交換兩個變數的程式
Example input:
3 5
Example output:
5 3
Remember: Your output may be 100% correct, but your code matters!
Hidden content! * *** * ****** *int main(){* * ** * * * *** * * *** i,j,k;* * * * ** * * * ** * **** ** ***** \n ** * * * ** * * ** * * ** ** ** * * * ** * * ** * ** * * * ** * * **** * * ** *}
Hidden content!#include<stdio.h>int main(){