In Progress

C# Homework Assignment Easy!! I don't have time

Here's your Assignment:

I recently received a spam e-mail, which inspired this assignment. Write a program to randomly select strings from text files, to fill in this template:

Greetings <Recipient Name>,

My name is <Sender Name>, and I would like to present you with a business opportunity that offers the potential for considerable earnings.

I work for a privately held manufacturing company. My company currently purchases a specific product vital to its processing operations at over 150 percent of the manufacturing cost. In my proposed business venture, you would act as a stand-in supplier, providing this key material while retaining the same profit margins. My role would be to introduce you to my company as the supplier and to obtain a contract between you and my employer.

I understand that your experience as a/an <Occupation> with <Employer> doesn't directly relate to my field. However, this venture is more in line with your personal capabilities rather than your professional experience, and I would like to call you to further discuss the details of this opportunity.

I would like to confirm your current phone number <Phone Number>. I respectfully request a return email to verify your contact number and to schedule the most convenient time to phone you. I look forward to speaking with you soon.

Kindest Regards,

<Sender Name>

Your program should select a Sender, a Recipient, an Occupation, and an Employer, randomly from separate text files ([url removed, login to view] and [url removed, login to view] are provided, you must write the other two). The phone number should pick an area code from a file (which you will write), and randomly generate a seven-digit phone number. Your program must then write the complete message to another text file. Submit a zip file of your finished project folder here by 11:59 p.m. on Nov. 12, 2011.

Make the article (a/an) correct for the occupation (i.e. a Banana Gasser, an Elephant Trainer).

Here's the algorithm you need to follow:

Your Form should have combo boxes for Sender, Recipient, Occupation, Employer, and Area Code.

Populate each ComboBox with the strings from one of the files (you have been given two of them, you need to write the rest, use Notepad for this).

Code to populate a ComboBox (place in the Form1_Load event handler):

StreamReader reader = new StreamReader(@"c:\[url removed, login to view]");

while (![url removed, login to view]) {

string occupation = [url removed, login to view]();

[url removed, login to view](occupation);


This of course assumes that your ComboBox is named occupationComboBox. You can populate the rest with similar code. Then add a Generate Message button to your Form. When clicked, it will take the values selected in the ComboBoxes, and generate the text of the message:

string message = "";

message += "Greetings " + [url removed, login to view] + "," + [url removed, login to view];

message += "My name is " + [url removed, login to view] + ", and I would like to present you with a business opportunity";

message += " that offers the potential for considerable earnings.";

List of Employers the program should use:

Missouri Baptist University

Tyson Farms



Dole Produce

Aston Martin

Ford Motor Company

Intel Corporation

Apple Computers

List of Occupations:

Phesant Plucker




Elephant Trainer

Banana Gasser

Chick Sexer

Underwear Model

Rock Star

Auto Mechanic


Skills: C# Programming, C++ Programming, Java, PHP, Visual Basic

See more: work privately held manufacturing company, supplier obtain contract employer, business opportunity offers potential considerable earnings, you and ibm, write an article template, work place trainer, the ibm place, text easy, template for algorithm, template company folder, template algorithm, string processing in c, string processing algorithm, string i, string algorithm, spam button, role of algorithm, p time, project schedule template, project handler, professional phone message greetings, product manufacturing cost, p.e.t. model, on line supplier, m string

About the Employer:
( 1 review ) LAKE SAINT LOUIS, United States

Project ID: #1290405

22 freelancers are bidding on average $53 for this job


Hi, kindly check your inbox for my inquiries. Thanks.

$30 USD in 0 days
(628 Reviews)

Hi, I am expert in string processing. You ever heard about "text spinner". Its almost same like it. But spinning text much more complex. I can do this project easily. Just let me know. Also send me your budget. Th More

$80 USD in 5 days
(104 Reviews)

Hello, i am expert in C# i can finish it before 12 am (6 hours from now) waiting your answer to begin payment after job completion by escrow Regards

$30 USD in 0 days
(57 Reviews)

Hi I can handle this for you. Best regards, Giang

$30 USD in 2 days
(63 Reviews)

dear sir.I have experience create application for send mai,mail merge.. I can dot [url removed, login to view] see my profile for [url removed, login to view]

$50 USD in 1 day
(12 Reviews)

I am interested in the project. Delivery will be on time.

$60 USD in 0 days
(16 Reviews)

I have extended experience in those types of projects. I will provide fully commented source code. I will answers to all your questions. Regards, Cloe

$40 USD in 2 days
(19 Reviews)

Professional system developer here. Please see PM.

$30 USD in 0 days
(3 Reviews)

Hi. I've done your assignment as per the description; I'm sure it will satisfy your needs. Details in PM.

$30 USD in 0 days
(4 Reviews)

Hey buddy I can help you in this Assignment.

$30 USD in 2 days
(6 Reviews)

Hi, please check PM. Thanks

$90 USD in 0 days
(3 Reviews)

Hi I am ready to start the work. I have experience in similar work Let start Will do the exact work as you want. Thanks

$150 USD in 0 days
(6 Reviews)

Hi there! I'd love to help you with your assignment. I have experience in C# .NET programming with Windows Forms, I have a Masters and a Bachelor Degree in Computer Science and I love programming. See the private messa More

$49 USD in 3 days
(0 Reviews)

Good day, I am a Software Developer and studied Computer Science. These things are very easy and for me. Kindly check pmb.

$100 USD in 2 days
(0 Reviews)

I have experienced working on C# [url removed, login to view] and windows form applicatiom.

$60 USD in 2 days
(0 Reviews)

I´ve a project like yours already done it. I can easily modify it to your specifications. Regards

$30 USD in 0 days
(0 Reviews)

Hello! I took a modules in C#.NET and Silverlight at University and I can do this for you.

$30 USD in 1 day
(0 Reviews)

I am a dream coder...i am excellent at c/c++/c# if you allow me i'll submit u an elegant code....thanks:)

$30 USD in 1 day
(0 Reviews)

allow me to do this task for you and it will be my honor to start my first project with you hope you consider me

$50 USD in 2 days
(0 Reviews)

Please check PMB. Regards, Sandy

$100 USD in 1 day
(0 Reviews)