C# Program, need by 10:00pm central time USA, October 30
You are to create a class called Item which contains the following private variables:
string name; // Will be received from files.
int weight; //random number from 1-10
The class Weapon is derived from Item. The variable for that class is
int atk; //random number from 1-10
The class Armor is derived from Item. The variable for that class is
int def; //random number from 1-10
You will have 2 files. One called "[login to view URL]" which has the following:
The "[login to view URL]" file has the following data
Your program should create ONE array of 10 Items (no other arrays will be created and files will be closed after all 10 items are received from file). The computer will select the order the items are placed in the array Randomly. (You can try getting a random number between 1 and 2, if it is a 1 you place the next weapon from file while if it is a 2, you place the next armor... though be aware there will be a time when you already received all items from either the weapon or armor file, in which case you get the remainder items from the non-empty file to fill in the rest of the array).
You should then sort the Items based on Damage per minute and Armor per minute (do not separate the weapons and armors from the array, you will sort based on the DPM and APM numeric value). Basically some math will need to be done to get these values based on the following.
if the weight is 1, he can attack 10 times per minute. for each extra weight, he can attack one time fewer as shown in the following (defense works with similar formula):
Weight = 1, 10 attacks per minute.
Weight = 2, 9 attacks per minute.
Weight = 3, 8 attacks per minute.
Weight = 4, 7 attacks per minute.
Weight = 5, 6 attacks per minute.
Weight = 6, 5 attacks per minute.
Weight = 7, 4 attacks per minute.
Weight = 8, 3 attacks per minute.
Weight = 9, 2 attacks per minute.
Weight = 10, 1 attack per minute.
This means if the random number for weight is 7, he can attack 4 times in one minute. This multiplied by the weapon atk gives you the damage per minute.
Display (Neatly) all the content of the Item array on the screen( name, weight, atk/def and attack/armor per minute). You will then send the following to the Screen:
1. The weapon with the strongest Damage per minute along with the name, weight, attack and damage per minute.
2. The armor with the strongest Armor per minute along with the name, weight, defense and armor per minute.
Zip the entire folder
24 freelanceri licitează în medie 35$ pentru acest proiect
Hi there, I do C# programming. I went through your requirements and I would like to do this project if given the opportunity. Let me know if you are interested.
Hi There I've excellent programming and development skills and knowledge. I can provide an efficient, perfect, well documented development of your Programming and Computer project according to 100% accuracy and re Mai multe
Hello there, lots of experience teaching algorithms and programming with C/C++/C# st uni level. Let me know if you;re interested. Cheers!
Hi Nice to meet you. I checked your requirement. My main part is WPF. So no problem to implement your class. Just let me know if you are intersted in me. I can deliver project in CST 10pm. Regards.
Hello, I am interested in this project and so wanted to discuss more it in details. I have a lot of experience in C# programming. I will keep your time. And I will provide you quality work according to your instrument. Mai multe
Hello, I specialize in writing programs for C# and various other .NET languages. I have completed nearly 150 projects with excellent ratings. I have already completed the project and it displays the results as yo Mai multe
Hi, I have a master's degree in computer science, over 15 years of experience, and I'm a published author of books on Data Structures & Algorithms, and Computer Programming. I routinely help graduate/post-gradate st Mai multe
Hi. I have strong power with c#. I can finish your project perfectly. Please contact me. Best regards.
Hello I'm a highly skilled software engineering developer and a C# developer I've read the description of this game (program)please contact me over chat for more details.
Hi bro. I have read your description I am confident in your project and I can finish it clearly on time. I am well experienced and skillful C# programmer. I have +15 years experience in software developing. I hav Mai multe
Hey, I propose single day long delivery over this task Please message if you are interested over the proposal Thanks, Regards
Hi, how are you. Glad to meet you. I have long experience with C# programming. I am sure you are fully satisfied with me in this project. I hope your response.
Greetings, I am interested in doing this job. I am BS-CS graduate and knows Java programming as well, because of which I can do this task with ease. Have worked on NetBeans, Eclipse. Please do give me a chance to p Mai multe
Hello, I am very good in c# programming, should it be a console app or app with UI? contact me, if you want to work together
Hi, I am an expert iOS,Android Application Developer and web developer. I would love to have the opportunity to discuss your project with you. I have a 4 years of experience in Mobile application development and w Mai multe
Dear client. I've read your project description carefully and very interested. Let's discuss over chat and get started. Waiting your reply. Best regards.
Hi, Sir I am an expert in C#. I read your suggestion carefully. I have a lot of experiment in this field. If you ping me, I will finish clearly and at deadline in this project. I waiting your good reply. Tha Mai multe
I have written a similar program with c#,If you have any questions please contact me at some time by email ivanski34@gmail.