Posts

Showing posts with the label Programming
Image
Removing the alien virus from my Android device. I guess the remaining things that are unhackable is BRAIN . Well, I bought this honor 7A one month ago. Everything was working properly, but suddenly one day I noticed a grey dot(picture below). At first, I thought it may be an icon of some apps. But after diving into apps section of the system and after a few google search I got stuck.  The strange thing is that you can partially control the dot by touching it to manipulate the placement of the dot. So I failed? No, I looked up into forums, clubs etc. Finally, one thing I remembered that – We can call service centers, although my previous experiences with that are of no good. The guy(customer service’s agent) told me that I should update my system and it’ll work. He also told me that it may be happening from a virus. He recommended me to update to latest build i.e   The size of the update is: 2.46 GB :D From my point, he knows nothing about bugs. Finally, I got an idea

Good Coding Practices | How to code? Do's

Image

C Program to find divisors of a given Integer

Image
Sorry for not bringing enough contents in this summer. Well, I was busy.                                                           Image Source Today we will learn a C program which can calculate the divisors of a given number. It is easy. You can see the Source Code below...   //Program for finding integer divisors of an number #include<stdio.h> void main() {     int num,div,ans;     printf("Enter the number\n");     scanf("%d",&num);     for(div=2;div<=num;div++)         if(num%div==0)         printf("The divisor is %d\n",div); } A view on the sample output of the program....   That's enough for today, Bye. I will return soon with another post. stay tune.

How to calculate age using C program

Image
C Program for Age Calculation Want to calculate age using a C program, but couldn't make the source code!!! Here I come with the program you need. I have made this one month ago, and thought to post in this blog so that you guys be helped. Below is the C program to calculate age. Please notify me if you encounter any problem or error. //This program is created by Rupam Medhi. //You can find more program in http://computz365.blogspot.in #include<stdio.h> main() {     int d1,d2,m1,m2,y1,y2,D,M,Y;     printf("Enter your Birthday-date,month,year\n");     scanf("%d%d%d",&d1,&m1,&y1);     printf("Enter today's date-date,month,year \n");     scanf("%d%d%d",&d2,&m2,&y2);     if(((d1<=d2)&&(m1<=m2))||(d1<=d2)||(m1<=m2))//default and the easy condition     {         D=d2-d1;         M=m2-m1;         Y=y2-y1;     }     if((d1>d2)&&(m1>m2))     {         D=30-d