| | |
plz help me solving below programs
Please support our C advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Jul 2007
Posts: 2
Reputation:
Solved Threads: 0
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
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
How about you do your own homework?
John Conde
Brainyminds | Merchant Account Services | I Love Code
IT'S HERE: Merchant Accounts 101 Everything you need to know about merchant accounts!
Brainyminds | Merchant Account Services | I Love Code
IT'S HERE: Merchant Accounts 101 Everything you need to know about merchant accounts!
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.
John Conde
Brainyminds | Merchant Account Services | I Love Code
IT'S HERE: Merchant Accounts 101 Everything you need to know about merchant accounts!
Brainyminds | Merchant Account Services | I Love Code
IT'S HERE: Merchant Accounts 101 Everything you need to know about merchant accounts!
Have you done any work on your own yet? I don't see any.
John Conde
Brainyminds | Merchant Account Services | I Love Code
IT'S HERE: Merchant Accounts 101 Everything you need to know about merchant accounts!
Brainyminds | Merchant Account Services | I Love Code
IT'S HERE: Merchant Accounts 101 Everything you need to know about merchant accounts!
Suprisingly all those questions have the same answer!!!
C Syntax (Toggle Plain Text)
#include <stdio.h> int main() { printf("Hello World\n"); return 0; }
•
•
Join Date: Jun 2007
Posts: 33
Reputation:
Solved Threads: 1
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
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
![]() |
Similar Threads
- plz help me. (Getting Started and Choosing a Distro)
- need ur help in c++ coding plz help (C++)
- HDD Detected But I Cant See It In My Computer..PLZ IM DESPERATE FOR HELP (Windows NT / 2000 / XP)
- Plz help i can't get rid of from antivirus-gold (Viruses, Spyware and other Nasties)
- Plz help me i can't get rid of from hotoffers.com (Viruses, Spyware and other Nasties)
- What Other Programs are good than Google Adsense.. (Advertising Sales Strategies)
- HELP!!HJT LOG PLZ my comp is slowing... (Viruses, Spyware and other Nasties)
- hotoffers popup/homepage plz help (Viruses, Spyware and other Nasties)
Other Threads in the C Forum
- Previous Thread: system() function
- Next Thread: escape sequence
Views: 2020 | Replies: 11
| Thread Tools | Search this Thread |
Tag cloud for C
#include * .net append array arrays bash binarysearch changingto char character cm copyanyfile copypdffile createprocess() database directory drawing dynamic execv feet fgets file floatingpointvalidation fork function functions getlogicaldrivestrin givemetehcodez global grade graphics gtkwinlinux histogram homework i/o ide include infiniteloop initialization input interest intmain() iso keyboard kilometer lazy license linked linkedlist linux list looping loopinsideloop. lowest matrix meter microsoft mqqueue mysql oddnumber odf open openwebfoundation overwrite pause pdf pointer pointers posix power process program programming pyramidusingturboccodes read recursion recv recvblocked reversing segmentationfault single socket socketprogramming spoonfeeding standard strchr string student suggestions system test testing threads unix urboc user whythiscodecausesegmentationfault win32api windowsapi






