Month: January 2021

Wipro Coding Question Solve

BUCKET ID C C #include<stdio.h> int main() { long int n; scanf(“%ld”,&n); int m; m=n%10; while(n) { if(m>n%10) m=n%10; n=n/10; } printf(“%d”,m); return 0; } ODD EVEN ONLINE GAME C C #include<stdio.h> int main() { int n; scanf(“%d”, &n); int i,a[n]; for(i=0;i<n;i++) { scanf(“%d”,&a[i]); } for(i=0;i<n;i++) { if(a[i]%2==0) printf(“%d “,a[i]); } for(i=0;i<n;i++) { if(a[i]%2!=0) printf(“%d “,a[i]); …

Wipro Coding Question Solve Read More »