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
23.How computes the volume of a cube:
#include<stdio.h> int main() { int len,width,height,cube; printf("Enter a len of your choice:\n"); scanf(...
22.How we are print odd and 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