/* EXCHANGE THE INTEGER VALUE WITHOUT USING THE THIRD VARIABLE */ #include void main() { int a,b; printf("enter the two integer variabe \n"); scanf("%d,%d",&a,&b); //exchange the value of a to b ,b to a without using third variable a=a+b; b=a-b; a=a-b; printf("%d%d",a,b); getch(); } /*EXAMPLE: A=3,B=10 A=A+B; // A=3+10=13 B=A-B; //B=3-10=3 A=A-B //A=13-3=10 */ +0 Hi all, hope you can give me some help to edit my code. I'm unaware how to merge two arrays and allocate them to a third array(of the right size) and let's just say for the sake of things, we'll call it C. I went ahead and instead used the StringTokenizer, but I assume there's a simpler way to put it together. (Also, I'm getting the data from a .txt file, for my instance the file is called "SortedArrays.txt") import java.io.*; import java.util.*; class SortedArrays { public static void main(String args[])throws FileNotFoundException{ File f = new File("SortedArrays.txt"); Scanner s =new … +0 Hi All Im trying to get this to work, but can only get it to work without putting the form tags in, and wont work with more than one set of the inputs. the below is the result when i use ajax to search for item names, then want to caluculate the quantity * length (for total quantity), then total quantity * rrp_exc. the result should show in the the total field. It works, but not if the form tags are in and if there are multiple rows of the below inputs, eg, when there is more than one item … +0

The End.