Rabu, 27 November 2013

Arithmetic

# include
int main()

int i;
i = 5; printf("The Value of i is :
%d", i);
i = i + 5;
printf("\nThe Value of i is :
%d", i);
i = i - 2;
printf("\nThe Value of i is :
%d", i);
i = i * 2;
printf("\nThe Value of i is : %d", i);
i = i / 4; printf("\nThe Value of i is : %d", i);
i++;
printf("\nThe Value of i is : %d", i);
i++; printf("\nThe Value of i is : %d", i);
i --; printf("\nThe Value of i is : %d", i);
getchar();
return(0) ;
}

Tidak ada komentar:

Posting Komentar