| | |
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: 2018 | Replies: 11
| Thread Tools | Search this Thread |
Tag cloud for C
adobe ansi api array arrays bash binarysearch centimeter char convert copyanyfile copypdffile cprogramme createcopyoffile createprocess() csyntax directory drawing dynamic executable fflush file fork frequency getlasterror givemetehcodez global graphics gtkgcurlcompiling hardware highest homework i/o inches infiniteloop initialization interest kilometer km lazy linked linkedlist linux linuxsegmentationfault list locate logical_drives match matrix meter microsoft motherboard multi mysql open opendocumentformat opensource openwebfoundation owf pattern pdf performance pointer pointers posix power problem probleminc program programming pyramidusingturboccodes read recursion recv repetition scanf scheduling segmentationfault send shape socketprograming spoonfeeding stack standard strchr string strings structures student suggestions system systemcall test testautomation unix user voidmain() wab win32api windows.h






