Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Hello I need help doing the following C++ assignment. This is for a Beginner C++ class (entry level) so I really need just basic C++
Hello
I need help doing the following C++ assignment.
This is for a Beginner C++ class (entry level) so I really need just basic C++ code.
No functions or something like that, just the basic stuff like cout, endl, cin, etc.
Thanks for your support!
Programming Assignment 1: Equation Evaluator 1. Learner Objectives: At the conclusion of this programming assignment, participants should be able to: * Analyze a basic set of requirements for a problem and derive logical solutions to them * Declare variables * Apply C++ data types and associated mathematical operators * Comment a program according to class standards * Logically order sequential C++ statements to solve small problems * Compose a small C++ language program * Compile a C++ program using Microsoft Visual Studio * Execute a program Create basic test cases for a program II. Prerequisites: Before starting this programming assignment, participants should be able to: Access Microsoft Visual Studio Integrated Development Environment (IDE) * Summarize topics from the textbook on ZyBooks C++ language elements The standard C++ data types III. Overview & Requirements: Write a C++ program that evaluates the equations provided below. The program must prompt the user for inputs to the equations and evaluate them based on the inputs. All variables on the right hand sides of the equations must be inputted by the user. All variables, except for the plaintext_character, encoded_character, variable a, shift, R1, R2, and R3 are floating-point values. The plaintext_character and encoded_character variables are characters, and the a, shift, R1, R2, and R3 variables are integers. The constant Pl must be defined as a constant macro (#defined constants). Error checking is not required for your program. You do not need to check for faulty user input or dividing by zero. However, please consider inputs that could cause your program to work incorrectly. 1. Newton's Second Law of Motion: force = mass * acceleration 2. Volume of a cylinder: volume_cylinder = PI * radius2 * height 3. Character encoding: encoded_character = (plaintext_character - 'A') + 'a'-shift; shift is an integer (note: what happens if plaintext_character is uppercase? What happens with various shift keys?) 4. Distance between two points: distance = square root of ((x1 - x2)2 + (y1 - y2)2) 5. Tangent: tan_theta = sin (theta) / cos (theta) (recall: find the appropriate functions inStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started