Question: Please help Writing the following program in C using VIM editor, and explain any steps taken. I will RATE your answer Thanks C Program Write
Please help Writing the following program in C using VIM editor, and explain any steps taken. I will RATE your answer Thanks C Program Write a C program that evaluates the equations provided below. All equations should be placed in a single project! The program must prompt the user to select one equation (1 to 7), the 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, and variable a are float The plaintext character and encoded character variables are characters, and the a variable is an integer. PI, G 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 ing-point values. I. Newton's Second Law of Motion: force = mass * acceleration 2. Volume of a cylinder: volume_cylinder-PI radius2 height 3. Character encoding: encodedcharacter = (plaintextcharacter- - - a)+A' (note: whathappens if plaintext character is lowercase?) Gravity: force-Gmassl mass2 / distance2, where G is the gravitational constant with value 6.67 * 10- 5. Resistive divider: voutr2 (l r2) vin 6. Distance between two points: distance-square root of ((xl - x2)2 + (yl y2)2) (note: you will need to use sqrt )out of
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
