What's New-Given Below
technicalsymposium
technicalsymposium
technicalsymposium

Free E-Mail Alerts

C/C++ Lab Program(s)/Materials

C Program For DECIMAL TO BINARY.

#include<stdio.h>
#include<conio.h>
#include<math.h>
void main()
{
int n,z=0,i,a[20];
clrscr();
printf("Enter the n value");
scanf("%d",&n);
while(n>0)
{
a[z]=n%2;
z++;
n=n/2;
}
for(i=z;i>=0;i--)
{
printf("%d",a[i]);
}
getch();
}

technical symposium

Technicalsymposium.com-Latest Updates
Fresher’s Jobs/Symposium/Education Updates-Click below

Subscribe for Free E-Mail Alerts-Click below
technical symposium

Hosting by Yahoo!

About-Us    Contact-Us    Site-map

©copyright 2009 All rights are reserved to technicalsymposium.com