I like my version better.
Code:
// Chalkboard.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <iostream.h>
int main(void)
{
int count;
for(count=1;count<=500;count++)
cout<<"I will not throw paper airplanes in class."<<endl;
cout<<""<<endl;
return 0;
}
Or how about with a while loop instead.
Code:
// Chalkboard.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <iostream.h>
int main(void)
{
int count=1;
while(count<=500)
{
cout<<"I will not throw paper airplanes in class."<<endl;
++count;
}
return 0;
}
Bookmarks