skip to main
|
skip to sidebar
Pages
Home
Basic proggraming c
Programming
ACM SOLVE AND SOLUTIONS.ACM means that Association for Computing Machinery.
About Me
Unknown
View my complete profile
Powered by
Blogger
.
Popular Posts
10.Odd and Even number print in program:
#include<stdio.h> int main() { int i; printf("Enter any number:"); scanf("%d",&i); if(i%2==0)...
21.How we are print even number by using for loop:
#include<stdio.h> int main() { int i,n; printf("Enter your choice number:"); scanf("%d",&n); ...
Blogger news
About me
I'm Ashim chakrabarty.I study at Computer science & engineering in Chittagong university,Bangladesh.I come from Moulvibazar,Sylhet,Bangladesh.
Wednesday, March 6, 2013
acm 10055 hashmat
#include<stdio.h>
int main()
{
long int m,n,add;
while(scanf("%ld%ld",&m,&n)!=EOF)
{
if(m>n)
add=m-n;
else
add=n-m;
printf("%ld\n",add);
}
return 0;
}
0 comments:
Post a Comment
Newer Post
Home
Subscribe to:
Post Comments (Atom)
Search This Blog
Translate
0 comments:
Post a Comment