Skip to main content

Posts

Featured post

Window 7 In Just 9 MB

Hey,,,Welcome to this post.. Now everyone must be thinking that this must be a spam or a fraud but i promise you it is real and fully working window 7.. This is not done by a magic.. We are living in 20,s century and by the help of technology , everything is possible, so without wasting your time,here is the link. Extract it through Winrar and Your window 7 is ready.. Window 7 in 9 mb
Recent posts

10 Best Smartphone under Rs. 10000

1- Xiaomi Redmi Note 4 Specifications Ram & Storage : 2 & 3 GB | 32 GB Display : 5.5 (1080 x 1920) Processor : 2 GHz,Octa Operating System : Android Primary Camera : 13 MP Front Camera : 5 MP Battery : 4100 mAH Soc : Qualcomm Snapdragon 625 Price- Rs. 9999 2-Xiaomi Redmi 4 Specifications Ram & Storage : 3 GB | 32 GB Display : 5 (720 x 1280) Processor : 1.4 GHz,Octa Operating System : Android Primary Camera : 13 MP Front Camera : 5 MP Battery : 4100 mAH Soc : Qualcomm Snapdragon 435 Price-Rs. 8999 3-YU Yureka Specifications Ram & Storage : 4 GB | 32 GB Display : 5 (1080 x 1920) Processor : 1.4 GHz,Octa Operating System : Android Primary Camera : 13 MP Front Camera : 8 MP Battery : 3000 mAH Soc : Qualcomm Snapdragon 430 Price-Rs. 8999 4- Xiaomi Redmi 4A Specifications Ram & Storage : 2 GB | 16 GB Disp...

Jio Monsoon offer::Take a look at new plans

Again its free... :-)

To find a number is perfect or not:

#include<stdio.h> #include<conio.h> void main() { int n,s=0,i; clrscr(); printf("ENter the number\n"); scanf("%d",&n); for(i=1;i<n;i++) { if((n%i)==0) { printf("Factors of %d=%d\n",n,i); s=i+s; } } if(s==n) printf("Number is perfect\n"); if(s!=n) printf("Number is not perfect\n"); getch(); }

To find a number is palindrome or not:

#include<stdio.h> #include<conio.h> void main() { int n1,n,s=0,a; clrscr(); printf("Enter the number\n"); scanf("%d",&n); n1=n; while(n>0) { a=n%10; n=n/10; s=(10*s)+a; } if(n1==s) printf("Given number is palindrome\n"); else printf("Given number is not palindrome\n"); getch(); }

Multiplication of Matrix:

#include<stdio.h> #include<conio.h> void main() { int a[3][3],b[3][3],c[3][3],j,i,k; clrscr(); printf("Enter a 3*3 matrix\n"); for(i=0;i<3;i++) { for(j=0;j<3;j++) { scanf("%d",&a[i][j]); } } printf("Enter a second 3*3 matrix\n"); for(i=0;i<3;i++) { for(j=0;j<3;j++) { scanf("%d",&b[i][j]); } } for(i=0;i<3;i++) { for(j=0;j<3;j++) { c[i][j]=0; } } for(i=0;i<3;i++) { for(j=0;j<3;j++) { for(k=0;k<3;k++) { c[i][j]=c[i][j]+a[i][k]*b[k][j]; } } } printf("Matrix multiplication is-\n"); for(i=0;i<3;i++) { for(j=0;j<3;j++) { printf("%d ",c[i][j]); } printf("\n"); } getch(); }