Find Jobs
Hire Freelancers

i need a programmer badly

$30-250 USD

Cancelled
Posted over 5 years ago

$30-250 USD

Paid on delivery
Write a C program that prompts the user for a series of letters. The program will read in the letters and print out which dictionary words can be made from the provided letters. The dictionary is provided as a text file. In very general terms, determining if a given word can be made from the given letters will require counting how many distinct kinds of letters there are in the given letters and in the words. For example, assume that the word “bull” is in the dictionary. The word “bull” contains 1 ‘b’ character, 2 ‘l’ characters, and 1 ‘u’ character. Now say the input letters were “alblldi”. In “alblldi”, we have enough ‘b’ characters for “bull”, since “alblldi” contains at least 1 ‘b’ character. Similarily, “alblldi”, has enough ‘l’ characters for “bull”, since “alblldi” contains at least 2 ‘l’ characters. However, “alblldi” does not have at least 1 ‘u’ character, and as such we know that we cannot make “bull” from “alblldi”. Dictionary file Read in the dictionary words from a file. The name of the dictionary file must be “[login to view URL]”. Make the following assumptions about the dictionary file: Each line contains the words that begin with particular letter. The words in each line are separated by tab (\t). Each word consists only of lowercase letters in the range a-z. The maximum length of a single line is 99 characters. The maximum number of words is 1000. If you cannot open the dictionary file, you should print “Failed to open dictionary file ‘[login to view URL]’”, followed by a newline, and then exit the program. Program requirements The program must meet the following requirements: The program keeps asking the user for letters until the letters are exit. The program prints words in the dictionary that could be made in alphabetic order, as specified in the dictionary. The program prints out what letters were typed in, followed by a colon (:), followed by a list of the words that could be made (if any). Each word that could be made is prefixed by a tab character (\t). If the user types an upper case letter your program must convert it to lower case. Your program must check if each character is a valid letter of the English alphabet, if it is not then that character is discarded. Program output For instance, the following would be some output from your program: enter letters: alblldi alblldi: ball bill enter letters: moo moo: enter letters: bleppa bleppa: ape apple enter letters: exit Implementation Hint There are a lot of different ways to perform this sort of counting, but the shortest way will probably involve an array of 26 integers, one for each letter of the alphabet. The first index in this array refers to the number of ‘a’ characters, the second index the number of ‘b’ characters, and so on.
Project ID: 18316485

About the project

13 proposals
Remote project
Active 5 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
13 freelancers are bidding on average $103 USD for this job
User Avatar
hi, i have a lot of experience in C programming. I'm sure that I can easily do this project for you. we can have a chat.
$150 USD in 3 days
4.9 (363 reviews)
7.4
7.4
User Avatar
Hi there, I have read your project description and i'm confident i can do this project for you perfectly.I still have a few questions. please leave a message on my chat so we can discuss the budget and deadline of the project. Thanks . .
$155 USD in 3 days
5.0 (36 reviews)
6.7
6.7
User Avatar
I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 7 years. My work is online game developing, and mainly focus on server side, using c++ under Linux environment. I made many great projects using c++, for example, I made the tools which could convert java codes into c++ scripts, of course garbage collection included, this was very similar to a compiler, and was very complex. I also made our own mobile game using c++, I can show you the demo of client, if you like. I am very proficient in java also. I have a very good review on Freelancer.com, I never miss a project once I accept the job, you can check my review. Trust me, please let expert help you.
$80 USD in 1 day
4.9 (152 reviews)
7.1
7.1
User Avatar
Hi, Dear Employer! I am really interested in your project. I have enough experience in Python, C/C++, C#, java programming. I am 100% sure I can satisfy your requirements perfectly. User-Friendly Interface And Clear Algorithm Will Encourage Your Project. I want a long-term relationship with you. Thank you and best regards!
$200 USD in 3 days
4.9 (62 reviews)
7.1
7.1
User Avatar
hello,how are you. i read your bid carefully. i am c/c++ expert and have full experience for 10 years. c++ language is my top skill. i can provide most quality and high speed. if you want to success, please contact me. Then, I will give you good result to the proposals. hire me.
$120 USD in 3 days
4.9 (19 reviews)
6.2
6.2
User Avatar
Hello, I have a lot of experience in C and Operating System, Algorithm and Data Structure. I am ready to discuss with you Best, Regards.
$155 USD in 3 days
4.9 (99 reviews)
6.1
6.1
User Avatar
Hello I am C expert and interested in this project. I have reviewed your project details and attached file and confident to handle the project perfectly. I will keep code simple and commented. Please communicate to discuss further. Regards, Anshu
$99 USD in 1 day
4.7 (106 reviews)
6.3
6.3
User Avatar
Hello Sir, I am a confident programmer with firm grip in C I have read all of your requirements completely and trust me this task is not much challenging for me I’ll provide you quality work with 100% perfection as needed with guaranteed least rates and on time delivery you can sent me a message to discuss the details and budget waiting for your response Thanks
$55 USD in 2 days
5.0 (8 reviews)
3.5
3.5
User Avatar
Dear employer. I am an expert C and C++ developer. I have read the description of your project and I'm interested in the devolipment of this project as it falls within my area of expertise.
$100 USD in 1 day
5.0 (3 reviews)
3.1
3.1
User Avatar
Hello! I have been using C to develop various programs, using algorithms and different data structures. Please contact me so we can further discuss, I'd gladly help you with your project. Have a nice day! :)
$85 USD in 1 day
5.0 (1 review)
2.3
2.3
User Avatar
if it's not assignment contact me .
$55 USD in 3 days
5.0 (1 review)
1.0
1.0
User Avatar
Hi, I understand your problem and can solve it in 24 hours. I have 2 years of experience in C. Feel free to ask me anything. Thank you for considering my offer, Alexandre Drean.
$50 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi. It's a simple project for me and I can do it for you as soon as possible. I'm new to freelancer.com but worked professionally for about 15 years.
$35 USD in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Miami, United States
5.0
1
Payment method verified
Member since Dec 8, 2018

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.