0
I need answer
Write C++ Statements) Write C++ statements to accomplish each of the following: a) Display the value of element 6 of character array f. b) Input a value into element 4 of one-dimensional floating-point array b. c) Initialize each of the 5 elements of one-dimensional integer array g to 8. d) Total and print the elements of floating-point array c of 100 elements.
2 odpowiedzi
0
Are these your homeworks?
a) cout << f[5];
b) cin >> b[3]
c) for (int i = 0; i < 5; i++){g[i] = 8;}
d) for (int x = 0; x < 100; x++){sum += c[x];}
- 1
Yes