University of Central Florida Module 6 Programming with C Project 4 question answer programming with C pleas 4 question answer programming with C pleas

University of Central Florida Module 6 Programming with C Project 4 question

answer programming with C pleas

4 question

answer programming with C pleas

4 question

answer programming with C pleas Homework For Module 09.
1. (USE ARRAY and POINTER FOR THE Vertices and Lengths! ) Create a script that will take
user input of 3 vertices to calculate the area of a triangle by using Heron’ Formula. You will
need the “pow” function in “math.h” header file.
Your output should have the format of
-With the given vertices (Display Vertices) the area of the triangle is (The result.)
Conditions
All Vertices have to be included in a single ARRAY and its pointer!
Lengths A, B, and C have to be included in a single ARRAY and its pointer!
All the computation has to be done by using POINTER ONLY!
2. (USE POINTER ARRAY FOR THE COEFFICIENTS! ) Create a script that will solve a set
of simultaneous equations.
a, b, c, d, e, and f are user input.
Your script should be able to calculate x and y.
Also the script should ask the user whether he /she would like to continue on finding answers for
other equations and then continue on with the answer “Y”.
Your output should have the format of
-With given values of “a”, “b”, “c”, “d”, “e”, and “f”, the answer for x is “Answer” and y is
“Answer”
All “a”, “b”, “c”, “d”, “e”, and “f “ have to be included in a single ARRAY and its
pointer!
All the computation has to be done by using POINTER ONLY!
3. Write a script that will find the sum of the array elements using pointers.
Conditions
a) The user should be prompted to make a decision on the size of the array.
b) The user should also be prompted to type in the individual element of the
array.
c) Use Pointers!
4. Write a script that will display the element of a single dimensional array of numbers in reverse
by using pointers.
a) The user should be prompted to make a decision on the size of the array.
b) The user should also be prompted to type in the individual element of the
array in order.
c) Use Pointers!

Purchase answer to see full
attachment

Leave a Reply