You are on page 1of 1

Dietel and Dietel Exercise Solution 2.

32
============================================
#include<conio.h>
#include<math.h>
#include<iostream.h>
void main()
{
clrscr();
int count=1;
while(1)///////////infinte loop
{

cout<<pow(2,count)<<endl;/////////////////////////po
w() function is used to calculate the power of that value
count++;

}
getch();

http://www.ravianeducation.blogspot.com
FARHAN: 03008855006