algorithm , C/C++ Programming

write an algorithm to swap values without using third variable
Posted Date: 10/22/2012 2:23:47 PM | Location : United States







Related Discussions:- algorithm , Assignment Help, Ask Question on algorithm , Get Answer, Expert's Help, algorithm Discussions

Write discussion on algorithm
Your posts are moderated
Related Questions
At a shop of marbles, packs of marbles are prepared. Packets are named A, B, C, D, E …….. All packets are kept in a VERTICAL SHELF in random order. Any numbers of packets with thes

Debug the following program to calculate N! #include using namespace std; main() {             int N, factorial=1;             cout             cin >> N;

to count number of occurances

A: In C++ there is a main difference among a template and a macro. Merely a macro is a string which the compiler replaces along with the value that was defined. For example #define


i havea a small C++ i need help with. should not be anything special for an experienced programmer

Draw a flowchart for a program that allows the user to enter 20 names along with their ages and their Social Security Numbers in three parallel arrays. Programs shou

Byteland county is very famous for luminous jewels. Luminous jewels are used in making beautiful necklaces. A necklace consists of various luminous jewels of particular colour. Nec

what is spanning tree? explain prims algorithm spanning tree?

Develop a Student class that has the following header file: #ifndef STUDENT_H #define STUDENT_H #include #include #include using namespace std; class Stu