(Move to ...)
▼
Binary Subtraction
#include<iostream.h>
#include<conio.h>
void main ()
{
int a = 17 , b = 26 ;
int result ;
a = ~ a ;
a = a + 1 ;
result = b + a ;
cout <<b<<" -" <<a<<"=" <<result;
getch();
}
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment