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 pekerja bebas membida secara purata $35 untuk pekerjaan ini
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 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'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, 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.
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.