Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  positive.c
Language: C/C++
Code:
#include <stdio.h>
#include<conio.h>
main()
{
   int i,n,a[20];
        printf("enter the limit");
        scanf("%d",&n);
        for(i=0;i<n;i++)
        {
            scanf("%d",a[i]);
        }
        for(i=0;i<n;i++)
        {
            if(a[i]>0);
            printf("%d",a[i],\t);
        }
          
     }     
          
          
          
Comments: