technology - Posts

Return to advanced search

Re: UPTU Counseling Postponed Till July 18

Oh! That's weird. I think UPTU should withdraw its affiliation from such colleges.. :x
by technology
July 14th, 2009, 4:18 am
 
Forum: Education Related
Topic: UPTU Counseling Postponed Till July 18
Replies: 1
Views: 447

Re: Some Questions of Language C :- Level - 3

Answer - 5. #include<stdio.h> #include<conio.h> void main() { long a,b; clrscr(); printf("Enter the number\n\n"); scanf("%ld",&a); printf("\n\n"); for (;a>0;) { b=a%10; a=a/10; printf("%ld",b); } getch(); }
by technology
November 28th, 2008, 3:46 pm
 
Forum: Softwares, Programming & Tutorials
Topic: Some Questions of Language C :- Level - 3
Replies: 5
Views: 121

Re: Some Questions of Language C :- Level - 3

Answer - 4. #include<stdio.h> #include<conio.h> void main() { int a,b=2; clrscr(); printf("\n Enter the Number you want to check: \n"); scanf("%d",&a); while(b<=a-1) { if(a%b==0) { printf("\n %d is not Prime number\n",a ); break; } b=b+1; } if(a==b) { printf("...
by technology
November 28th, 2008, 3:43 pm
 
Forum: Softwares, Programming & Tutorials
Topic: Some Questions of Language C :- Level - 3
Replies: 5
Views: 121

Re: Some Questions of Language C :- Level - 3

Answer - 3. #include<stdio.h> #include<conio.h> void main() { int a,b,sum=0; clrscr(); printf("Enter the value of n \n"); scanf("%d",&a); printf("Numbers :-\n\n "); for (b=1;b<=a;b++) { printf("%3d",b); sum+=b; } printf("\n\n Sum of the numbers from ...
by technology
November 28th, 2008, 3:38 pm
 
Forum: Softwares, Programming & Tutorials
Topic: Some Questions of Language C :- Level - 3
Replies: 5
Views: 121

Re: Some Questions of Language C :- Level - 3

Answer - 2. #include<stdio.h> #include<conio.h> void main() { int a,b,c=1; clrscr(); printf("Enter The Number :-\n"); scanf("%d",&a); b=a; while (b>=1) { c=c*b; b--; } printf("Factorial :- %d",c); getch(); }
by technology
November 28th, 2008, 3:33 pm
 
Forum: Softwares, Programming & Tutorials
Topic: Some Questions of Language C :- Level - 3
Replies: 5
Views: 121

Re: Some Questions of Language C :- Level - 3

Answer - 1. #include<stdio.h> #include<conio.h> void main() { int a,b,c,d,e=1; clrscr(); printf("Armstrong Numbers\n"); printf("================="); while (e<=999) { a=e/100; a=a*a*a; b=e%100; c=b/10; c=c*c*c; d=b%10; d=d*d*d; if (e==a+c+d) { printf("\n\t%d",e); } e++;...
by technology
November 28th, 2008, 3:19 pm
 
Forum: Softwares, Programming & Tutorials
Topic: Some Questions of Language C :- Level - 3
Replies: 5
Views: 121
Next

Return to advanced search

cron