Nokia Asha 305: Price in Bangladesh & Full Specification
Price7800 Tk
Camera2 Megapixel || Video: Yes
InternetGPRS: Yes || EDGE: Yes
FM Radio Stereo FM radio with RDS
Audio Player MP3, WAV, WMA, AAC
Video Player MP4, H.264, H.263, WMV


First Arrivaljuly, 2012
Memory10 MB, 64 MB ROM, 32 MB RAM
Memory Card SlotMicroSD card slot Expandable up to 32GB, 2 GB included
BluetoothYes, v2.1 with EDR
USBYes, microUSB v2.0
InfraredNo
Weight98 gm
StatusAvailable
Display3.2" LCD resistive Full Touch (240px * 400px)
Talk Time14 Hours
Stand By528 Hours
BrowserHTML, XHTML, WAP 2.0, CSS
JavaYes
Other FeaturesDual SIM, Email, Facebook, Twitter, Calendar, Alarm, To-Do, Calculator, Notes, SMS, MMS, Threaded view, Predictive text input, Voice recordinghttp://www.mobilemaya.com/mobile_price.php?id=152 
This week Bollywood Highest earned movie is "Cocktail". This is this movie's first week and it earned about 52 cores rupees and become one of the super hit movies of this year. In the second position "Bol Bachchan". It is the second week of "Bol Bachchan" and it also become one of the hit movies of this year. The simple chart is here. For more details visit http://boxofficeindia.com/
Rank Film Week Weekly Nett Gross
1 Cocktail 1 51,96,00,000
2 Bol Bachchan 2 23,46,00,000
3 The Amazing Spiderman (Eng) 3 1,34,00,000
4 Gangs Of Wasseypur 4 62,00,000
5 The Amazing Spiderman (Hin) 3 41,00,000
Question:I have to write a program that takes one integer and follows these rules. First, print this number. When the number is even, change the number to itself divided by 2. Print the resulting number. When the number is odd, change the number to itself multiplied by 3. Then add 1 to the number. Print the result. Continue following these rules until the number you have left is 1 (which will be printed as well).
e.g. given 22 print:
22
11
34
17
52
26
13
40
20
10
5
16
8
4
2
1

ANSWER:
#include <stdio.h>
#include<conio.h>
int main() {
    int x;
    printf("Enter a number: ");
    scanf("%d", &x);
    printf("%d\n", x);
    do {
        if (x % 2 == 0)
            x /= 2;
        else {
            x *= 3;
            x++;
        }
        printf("%d\n", x);
    } while (x != 1);

    getchar ();
    return 0;
}
 


SOURCE:http://cboard.cprogramming.com/c-programming/134435-loop-problem.html