In Progress

Generate Random Targets and address them using an Implemented System

Using C++, create a simulation that will generate random targets (4 with a standard deviation of 1) which will assign them a value in two parts: a numerical value of -100 to 100, and a character value of A (air), S (surface), and U (under-surface). The simulation will run X (user input) amount of steps, and display the results for each step on the screen.

For example targets generated:

-100A will be a friendly air target that is close, while a 100S will be an enemy surface target that is close.

-10U will be a friendly under-surface target that is far, and 10A will be an enemy air target that is far.

Values -9 to 9 will be considered unidentified. Possibly using a priority queue to keep high value targets at the top to ensure they are addressed first.

Once the targets are generated with their values, they will then be assigned a weapon type depending on if they're an enemy or not. Each weapon type can target a specific target with a success chance to remove the target from the list:

Type 1 systems target Surface (S) types with a 96% success

Type 2 systems target Under-surface (U) types with a 98% success

Type 3 systems target Air (A) types with a 90% success

Type 4 systems target Surface AND Air (S and A) with a 88% success

Each system will be assigned to an enemy target depending on their threat, higher values first. Each step, the assigned systems will determine if they were successful in removing the target from the list. If so, they will them be assigned a new target. If not, the systems may be reassigned to the new targets generated, or stay assigned to original target. The simulation will end once all steps are processed (even if targets remain). However, it should display what targets remain at the end of the simulation. Allow the user to run the simulation again with a new step value.

Process:

Prompt user for number of steps

Step through the simulation

- Generate targets randomly -100 to 100 and A, S, U (base 4 with standard deviation of 1)

- Assign system types to to address targets 10 to 100, A, S, U depending on type

- Determine success of removing them from a list, reassign as needed

Continue to step through and generate/assign under end of number of steps

There should be a check to ensure user inputs valid input, positive integer instead of negative int, char, or str

Code should be commented to explain process and list/explain what data structures were used and why

Should be written as a console application using C++, supply .cpp file and any additional files needed (i.e header) to successfully run through CodeBlocks.

Skills: C++ Programming, Software Architecture, Algorithm

See more: point sales system using visual basic, developiing online exam system using struts2 pdf, student registration system using java access, inventory system using visual basic, designing perl system using java, example sales inventory system using, design interface inventory management system using vbnet, using rand generate random digit numbers, generate random pin using aspnet, generate random ip address, generate random ip address list, php script generate random mac address, program generate random ip address, generate random string using regular expression python, generate random number using regular expression, rating system using address, generate random name address, generate random string using regex net, generate random numbers in excel using vba, c program to generate random numbers without using rand

About the Employer:
( 7 reviews ) Arlington, United States

Project ID: #28383535

9 freelancers are bidding on average $162 for this job

Softeria

Hello friend, I did MS Software Engineering. I have 7 years of experience in software development. I can do any simple task (e.g. data structures or OOP) to complex problems (e.g. ML and AI). I work on JAVA, C, C++, Py More

$250 USD in 7 days
(214 Reviews)
7.3
braincenter

Hello, Hope this message finds you well, I checked your details and I believe that my experience is what you are looking 4. I have been working on similar projects for the past eight years, and I have the essential sk More

$200 USD in 4 days
(16 Reviews)
5.1
Pasha1986

Hi, Chris I just read your posting and interested in your project. I have rich experience in C/C+++ for over 10 years Important is I understood your project. Let's discuss more in chat Regards Paul

$200 USD in 3 days
(6 Reviews)
4.8
changxing0606

Hi, Your project is very wonderful. I have good experience in your project. So far, I have accomplished many tasks like this. If you hire me, you will get the wonderful results you want. I will wait your response. Th More

$140 USD in 3 days
(13 Reviews)
3.1
(5 Reviews)
2.5
CSharpStar

Hello. Chris. I've read your project description carefully and understood what you want. I was a ACM ICPC player and I've worked C++/C# developer for a few years. Especially, I love to make good algorithm based on math More

$100 USD in 1 day
(2 Reviews)
2.4
AlexBorisrn

Hello, Sir. Are u safe from COVID-19? Your project is prefer to me. I read your requirements carefully. I am full stack developer and my original skill is system/network/database/video stream/c++/opencv/c#/mathmatic/tr More

$140 USD in 7 days
(1 Review)
0.6
de1337v

hello I have read your project description carefully and noticed that I can complete your project in short time. I am a senior Fullstack developer who has more than 5+ years of experience in web development and who has More

$140 USD in 7 days
(0 Reviews)
0.0
TopNinja

Hello, there. I am convinced that I can hand in high quality project with respect to your idea. While developing remotely at [login to view URL], I've experienced a lot. Looking forward to hear from you. Thanks in advanc More

$140 USD in 2 days
(0 Reviews)
0.0