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
17.Test vowel and consonant by using switch statement:
#include<stdio.h> int main() { char ch; printf("\n Enter a character:"); scanf("%c",&ch); ...
12.Print Leap year:
#include<stdio.h> int main() { int year; printf("Enter any year for test leap year:"); scanf("%d",...
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