1
Answer

Write statements to accomplish each of the following tasks

ahmed sami

ahmed sami

12y
4.4k
1
Write statements to accomplish each of the following tasks:

a) Display the value of the seventh element of character array f.
b) Initialize each of the five elements of single-subscripted integer array g to 8.
c) Total the elements of floating-point array c of 100 elements.
d) Copy 11-element array a into the first portion of array b containing 34 elements.
e) Determine the smallest and largest values contained in 99-element floating-point array w.
Answers (1)
0
Anil Kumar

Anil Kumar

NA 872 55.9k 9y
code is looking fine by the looks of it. Just check for null value, before appending it to the string builder..
0
Sousa Pambo

Sousa Pambo

NA 92 12.6k 9y
I think is the way i organized the (') or ("") in these lines

sqlBuilder.Append(frmAl.tbQrtResp2.Text + "','"); //9

sqlBuilder.Append("@PicResp2,'"); //10
sqlBuilder.Append(frmAl.tbCasaResp2.Text + "')"); //11

it shows there's a error near the last line
0
Anil Kumar

Anil Kumar

NA 872 55.9k 9y
What error you are getting?