assignment6 - u int main () i { char letterA = 'A'; char...

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

View Full Document Right Arrow Icon
/* Write a program that declares three variables called letterA, letterE and letterT. Set their values to A, E, and T respectively. Using these variables, print out the following lines: Sample Output: ATE TEA EAT */ #include<iostream> # using namespace std;
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: u int main () i { char letterA = 'A'; char letterE = 'E'; char letterT = 'T'; c cout <<letterA<<letterT<<letterE<< endl; cout <<letterT<<letterE<<letterA<< endl; cout <<letterE<<letterA<<letterT<< endl; c }...
View Full Document

This note was uploaded on 01/11/2010 for the course CMPSC 101 taught by Professor Drobish,renee during the Summer '07 term at Pennsylvania State University, University Park.

Ask a homework question - tutors are online