1. Define a structure called cricket that will describe the following information
Player name
Team name
Batting average
Using cricket, declare an array player with 10 elements and write a program to read the information about all the 10 players and print a team wise list containing names of players with their batting average.
2. Using pointers, write a function that receives a character string and a character as argument and deletes all occurrences of this character in the string. The function should return the corrected string with no holes.
3. Write a program to extract a portion of a character sting and print the extracted string. Assume that m characters are extracted, starting with nth character.
4. Write a program to encrypt a string and decrypt it using your own method of encryption and decryption.
5. Write a calendar program to find out the day of a given date in a particular year
Similar Threads
plz help me.in Getting Started and Choosing a Distro
Hi,
check the following thread titled - "Help Please - with String Manipulation".
you can find the answer to one of your questions.
You only need to customize it a little to suit your requirement.
hey !!!
can anyone help me out with his 5th Q - to find the day given the date. The logic or maths behind it.
given a date - say 15th Aug 1947 - the program should o/p the day.
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
This thread is currently closed and is not accepting any new replies.