Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  akhil.c
Language: C/C++
Code:
#include<stdio.h>
 int main()
{
int n,i,t[3]={1,6,7};
scanf("%d",&n);
for(i=0;i<3;i++)
{
scanf("%d",&t[i]);
if(t[i]==1)
{
printf("yes\n");
}
else
{
t[i]=t[i]-5;
if(t[i]==1)
printf("yes\n");
else
printf("no\n");
}
}
}

          
Comments: