943,879 Members | Top Members by Rank

Ad:
  • C Discussion Thread
  • Unsolved
  • Views: 3158
  • C RSS
You are currently viewing page 1 of this multi-page discussion thread
Jul 2nd, 2007
0

plz help me solving below programs

Expand Post »
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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
bunty_kkp is offline Offline
2 posts
since Jul 2007
Jul 2nd, 2007
1

Re: plz help me solving below programs

How about you do your own homework?
Moderator
Reputation Points: 161
Solved Threads: 38
He's No Good To Me Dead
stymiee is offline Offline
1,422 posts
since May 2006
Jul 3rd, 2007
0

Re: plz help me solving below programs

do come up with a pseudocode on these ... we will help you to build on it ...
put in your effort

- Ram Sharma
Reputation Points: 58
Solved Threads: 1
Light Poster
bvgsrs is offline Offline
33 posts
since Jun 2007
Jul 3rd, 2007
1

Re: plz help me solving below programs

First u Start the Coding then we will help u
Reputation Points: 12
Solved Threads: 0
Newbie Poster
praneeth_gunda is offline Offline
21 posts
since Jun 2007
Jul 3rd, 2007
0

Re: plz help me solving below programs

Exactly. You write the psuedocode first then we'll offer advice. Then you can write your code and we can help after you have written it.
Moderator
Reputation Points: 161
Solved Threads: 38
He's No Good To Me Dead
stymiee is offline Offline
1,422 posts
since May 2006
Jul 3rd, 2007
2

Re: plz help me solving below programs

Did the OP really need 4 posts that say exactly the same thing? C'mon, people, one post is enough.
Moderator
Reputation Points: 3278
Solved Threads: 892
Posting Sage
WaltP is offline Offline
7,718 posts
since May 2006
Jul 4th, 2007
0

Re: plz help me solving below programs

ya i want it same, plz help me

Click to Expand / Collapse  Quote originally posted by WaltP ...
Did the OP really need 4 posts that say exactly the same thing? C'mon, people, one post is enough.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
bunty_kkp is offline Offline
2 posts
since Jul 2007
Jul 4th, 2007
1

Re: plz help me solving below programs

Have you done any work on your own yet? I don't see any.
Moderator
Reputation Points: 161
Solved Threads: 38
He's No Good To Me Dead
stymiee is offline Offline
1,422 posts
since May 2006
Jul 6th, 2007
0

Re: plz help me solving below programs

Suprisingly all those questions have the same answer!!!

  1.  
  2. #include <stdio.h>
  3.  
  4. int main() {
  5. printf("Hello World\n");
  6. return 0;
  7. }
Reputation Points: 85
Solved Threads: 64
Practically a Master Poster
sillyboy is offline Offline
686 posts
since Mar 2007
Jul 6th, 2007
0

Re: plz help me solving below programs

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.


Ram Sharma
Reputation Points: 58
Solved Threads: 1
Light Poster
bvgsrs is offline Offline
33 posts
since Jun 2007

This thread is more than three months old

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.





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC