Argusoft 2nd round programming questions with solution program 2- write a program to input some number and check whether it belongs to series-1 or not. series 1 :- 4,2,5,20,40,200,4000,160000,32000000 Solution #include<stdio.h> #define N 9 int input[N]; void main() { int i,j,k,l; printf(" Predefined series is 4,2,5,20,40,200,4000..... \n"); printf("Enter number Minimum 9 numbers of the series to check\n"); for(i=0;i<N;i++) { ...
Comments
Post a Comment