nameArray - w cout << name[k]; c k++; } cout <<...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
#include <iostream> using namespace std; u int main(){ char name[] = "Steve Smith"; int numbers[7] = {1,2,3,4,5,6,7}; int k = 0; while(name[k] != '\0'){
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: w cout << name[k]; c k++; } cout << endl; c for(int q=0; q < 8; q++){ f cout << numbers[q] << "\t"; c } cout << endl; c return 0; }...
View Full Document

This note was uploaded on 03/30/2011 for the course ENGINEERIN 127 taught by Professor Finch during the Spring '08 term at Rutgers.

Ask a homework question - tutors are online