Posts

Showing posts with the label get(ch)

Another C conversion.

The main thing we did was to add a substitution for get(ch) and clrscr(); Original code: #include<stdio.h> void main() {         int n,d=0,j,a[9];         clrscr();         printf("Enter the Integer which u want to Convert Decimal to Binary : ");         scanf("%d",&n);         while(n>0)                {                     a[d]=n%2;                     n=n/2;                     d++;          ...