Tamas Marki wrote: > On Sat, Aug 1, 2009 at 3:40 PM, > vaibhav_pinku_2006<[email protected]> wrote: >> Write a program to input a string. If the character in the string lies >> between A-M or a-m then encrypt the character by right shift to two places >> (>>2) otherwise left shift to two places (<<2). > [snip big list of homework tasks] > >> if any query do reply.... > > How much do you pay?
I don't know if these are homework problems. Who in their right mind would delay until the end of a class to suddenly decide to do the work? Plus the OP would have to be in some sort of summer class, which I'm not aware of many schools offering Computer Science courses in the summer (nearly all in fall and spring, but fewer have summer offerings). Anyway, many of the questions seem weird/slightly "off". The first question, for example, would chop off the lower/upper two bits, which would result in lost data. Maybe the problem involves rotating bits or a Caesar Cipher instead of bitwise manipulation (although many of the other problems would seem to indicate otherwise). -- Thomas Hruska CubicleSoft President Ph: 517-803-4197 *NEW* MyTaskFocus 1.1 Get on task. Stay on task. http://www.CubicleSoft.com/MyTaskFocus/
