Hey folks, try to write C programs to solve these small problems. May be then we can discus more. Kushal will catchup with you all by 23:30 hrs. tonight.

---
 1. Write a program to print first N prime and perfect numbers.

 2. Write a calculator program to do basic maths operations like, addition(+),
    substraction(-), multiplication(*), division(/), square, and squareroot.

 3. Write a proram to display a moving progress bar, indicating an activity in
    progress on your terminal screen.

 4. Write a program to perform the following string operations without using
    the library functions.
    + find length of the given stirng.
    + compare the given two strings.
    + find if string is a palindrome.
    + print reverse of the given string.
    + find substring between given two indices.
    + concatenate the one string with the other.

 5. Write a program to read and input stream and count characters, words, and
    lines in the given input.

 6. Write a program to sort a given list of integer numbers, in both ascending
    and descending order.

 7. Write a program to sort a given list of names(character strings) in both
    ascending and descending order(Note: use your string comparison function
    from 3'rd assignment).

 8. Write a program to encrypt/decrypt the given text using ROT13. See the
    link below for what is ROT13: http://en.wikipedia.org/wiki/Rot13.

 9. Write a program to convert a given decimal number to Binary, Octal &
    Hexadecimal form.

10. Write a program to create a linked-list and perform the following
    operations on it:
    + add a new value.
    + delete a given value.
    + insert before the given value.
    + insert after the given value.
    + sort the entire linked-list.

11. Write a program to create a stack and perform the following operations on
    it:
    + push a value.
    + pop a value.
    + check if is empty.
    + check if is full.

12. Write a program to encode/decode the given text using base64 scheme.
    See: http://www.ietf.org/rfc/rfc4648.txt
---


solve and...enjoy! :)
--
Regards
  - Prasad
_______________________________________________
Users mailing list
[email protected]
http://lists.dgplug.org/listinfo.cgi/users-dgplug.org

Reply via email to