UVa Zer0 or One 12646

Problem link


<Source Code>

#include<stdio.h>
int main()
{
long int a,b,c;
while(scanf(“%ld %ld %ld”,&a,&b,&c)==3)
{
if(a==b && b==c)
printf(“*\n”);
else if(b==c)
printf(“A\n”);
else if(a==b)
printf(“C\n”);
else if(a==c)
printf(“B\n”);

}

return 0;
}

Advertisements

About waprogramming

I am in CSE,from CUET
This entry was posted in Uncategorized and tagged , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s