* declaring and printing the contents of an array. program array integer x(5) print*, x end