// july21ex4.cpp : Defines the entry point for the console application.
//  Here is a program.  What is its output????????????

#include "stdafx.h"

int main(int argc, char* argv[])
{
	int mynum=-4, term=4;

	while (term<50) {

            printf("%d \n", term);
			term = term  - mynum;
			mynum = (mynum + mynum) * -1;

	}


	return 0;
}