Jumat, 02 September 2016

Operator Binary Pada C


#include<stdio.h>
#include<conio.h>

main()
{
int x =10, y = 3;
int z, p;

z = x + y;
p = z - y;

printf(" Perhitungan Binary \n");
printf(" %i + %i = %i \n", x,y,z);
printf(" %i - %i = %i \n", z,y,p);

getch();
}


Output : 


0 komentar:

Posting Komentar