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,

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 ) 7, General equation: y- (89 / 27) -z * x + a / (a % 2) (recall: a is an r, the 89 and 27 constants in the equation should be left as integers initially, but explicitly type-casted as floating-point values) IV. Expected Results: The followinglstrates inputs and outputs that are program must display the results in a similar form as shown in the window. The text bellow shows possible results, for the given input tests, for the first two equations only appropriate for one of your equation. Your Please select the equation (Newton' s Second Law ot MotionN

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!