Docsity

Initialize - Computers and Programming I - Home Work, Lecture notes of Computer Programming

Partial preview of the text

Download Initialize - Computers and Programming I - Home Work and more Lecture notes Computer Programming in PDF only on Docsity!

Question 1

Using “0” to Initialize an array n [i], i from 0 to 9.

Question 2

Using 32, 27, 64, 18, 95, 14, 90, 70, 60, 37 to Initialize the elements of an array (n[i], i from 0 to 9) with a declaration.

Question 3

Generate values (2, 4, 6, 8, 10, 12, 14, 16, 18, 20) to be placed into elements

  • Question of an array ( s[j], j from 0 to 9)
  • υ Figure 4. Run following programs:
  • υ Figure 4.
  • υ Figure 4.
  • υ Figure 4.
  • υ Figure 4.
  • υ Figure 4.
  • υ Figure 4.
  • υ Figure 4.
  • υ Figure 4.
  • υ Figure 4.
  • υ Figure 4.