Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Can I please know the algorithm? Directions First create an algorithm then convert to C++. Upload a word document containing your Algorithm and your C++.cpp

Can I please know the algorithm? image text in transcribed
Directions First create an algorithm then convert to C++. Upload a word document containing your Algorithm and your C++.cpp source file to Blackboard. When uploading C++ source to blackboard, make sure you are only uploading the .epp source file from the project. No input file need be submitted. I will run your program with my own input file(s). Make sure to follow commenting guidelines including a proper file header (These are posted in "Code Guidelines" under Learning Content in Blackboard). Character Equipment Write a program that will accept as input, from a (save) file information about your game character. Your program should then calculate your character's effective stats (base stats plus equipment bonuses) and output the information to the screen. You can format the information to the console in any way you see fit (be creative!). It should make sense to the user who their character is, what equipment they have equipped, what their effective stats are, and how they were affected by their equipment. When your program runs, it should prompt for a file name. The program should then read the character data from the specified file, compute the results, then output to the console. The input file will be formatted as follows: Line 1: Character's full name (all type string) Line 2: The character's health, stamina, strength, and magic (all type integer) Line 3: The character's weapon magic bonus and name (type integer and string) Line 4: The character's head armor strength bonus and name (type string and integer) Line 5: The character's body armor health bonus and name (type string and integer) Line 6: The character's leg armor stamina bonus and name (type string and integer) Sample Input file: Aggokk the Brutal 70 50 90 10 0 Hammer of Smashing 10 Orcish Helm 30 Orcish Cuirass 20 Orcish Greaves

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing Fundamentals, Design, and Implementation

Authors: David M. Kroenke, David J. Auer

14th edition

133876705, 9781292107639, 1292107634, 978-0133876703

More Books

Students also viewed these Databases questions

Question

b. What are its goals and objectives?

Answered: 1 week ago

Question

How many Tables Will Base HCMSs typically have? Why?

Answered: 1 week ago

Question

What is the process of normalization?

Answered: 1 week ago