|
|||||||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
|
DriverHeaven Newbie
Join Date: Mar 2009
Location: Poland
Posts: 14
Rep Power: 0 ![]() |
Hi, I've got shitty exercise for Computer Science...
I have tried to do this once and I can't...understand it... Can you help me with this? It is programming in Pascal. Who can do this exercise for me? Please I need help :/ I will translate content into english for you. Here is a content: Code:
Pairs of Words If you have pair of words A and B, you can find the shortest word C, which contain word A and B. We can accept that words contain only signs "0" & "1". Example: For A = 10011101 and B = 111 word C = A, because A contain word B. In text file named dane.txt do following order. Answers to sub-punkt a,b and c place in text file named zad_5.txt. Results from sub-punkt d in text file named slowa.txt. SUB-POINTS: a)Give the answer, how much pairs of single words (A,B) in file dane.txt are palindroms, answer write to file zad_5.txt. b)Give the answer, how much pairs of words (A,B) wrote in single verse in file dane.txt have property that word B is inside word A,answer write to file zad_5.txt. c)Give the answer, how much pairs of words (A,B) wrote in single verse in file dane.txt have property that is only one way to create word C. You must stick word A and B to create word C. d)For all of pairs of words (A, B) placed in next verses in file dane.txt: • Create the shortest word C containing two words from one pair; • Write builded by you result's words C in text file slowa.txt, every word in single verse, in order answering pairs (A, B) from file dane.txt. ![]() Files to exercise: http://www.exterio.yoyo.pl/Files_To_Exercise.rar Thanks for doing this work for me, when you do this exercise and you write the program please place link under my post to it. Give me source code of this program. Program must be in PASCAL language. THX FOR HELP GOOD PEOPLE !!
__________________
|
|
|
|
|
|
#2 |
|
Bang. Bang. Bang.
|
Re: [Programming - Pascal]Hard exercise from computer science :/
You really think someone will code this for you? I'm sorry but that won't be happening.
Don't get me wrong, i'm no programmer but the whole idea of your course is to learn, henceforth you need to do your own work. People could probably help you though
__________________
Visit hardWIRED - Back up and running, The Wiki is back
![]() ![]() Who we are, is but a stepping stone to what we can become. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|