Question
Program specification Objectives Investigate value of elements from three arrays, with given subscript by user. Change value of elements with certain assignment statements: A[4] =
Program specification Objectives Investigate value of elements from three arrays, with given subscript by user. Change value of elements with certain assignment statements: A[4] = A[0] B[3] = B[1] + B[2] C[2][3] = A[3] Input Initialize two 1D array: Array A with size 10, double type, choose your own numbers as its values. Array B with size 10, integer type, choose your own numbers as its values. Initialize one 2D array: Array C with row size 4, column size 5, double type, choose your own numbers as its values.
this is for programming in C
sample
From the keyboard, user will enter which subscript(s) of the array to find its value. Output Program will show : Elements of each array based on its subscript. Investigate value of arrays 1. Which subscript of array A (0-9) : 6 A[6] = -0.10 2. Which subscript of array B (0-9) : 8 B[8] = 1 3. which subscript of array C : 1st subscript (0-3) : 3 2nd subscript (0-4) : 2 C[3][2] = 2.:Step 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