Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming > #2016
| From | sathyashrayan <sathyashrayan@gmail.com> |
|---|---|
| Newsgroups | comp.programming |
| Subject | problem 2.1.2 from "how to solve it by computer, Dromey" |
| Date | 2012-07-28 19:24 -0700 |
| Organization | http://groups.google.com |
| Message-ID | <e531d211-e0ad-47d5-8b68-542b3fef915f@googlegroups.com> (permalink) |
I am a beginner in learning algo..So please bear with me.. 2.1.2 Design an algorithm that makes following exchanges of 3 varioubles.. a-->b-->c--| ^ | ^----------| So a_temp = a; b_temp = b; c_temp = c; a=c_temp; c=b_temp; b=a_temp; I know this process looks ugly. Can anyone suggest a good one so that I could learn.
Back to comp.programming | Previous | Next — Next in thread | Find similar | Unroll thread
problem 2.1.2 from "how to solve it by computer, Dromey" sathyashrayan <sathyashrayan@gmail.com> - 2012-07-28 19:24 -0700
Re: problem 2.1.2 from "how to solve it by computer, Dromey" pete <pfiland@mindspring.com> - 2012-07-29 00:03 -0400
Re: problem 2.1.2 from "how to solve it by computer, Dromey" pete <pfiland@mindspring.com> - 2012-08-01 12:26 -0400
csiph-web