Webhosting in Pakistan
Results 1 to 11 of 11

Thread: Eik Chota Sa Masla Hai Mere Saath [please solve it]

  1. #1
    Fire's Avatar
    Fire is offline Senior Member+
    Last Online
    1st December 2014 @ 10:02 PM
    Join Date
    15 May 2009
    Location
    RooM # 101
    Age
    29
    Gender
    Male
    Posts
    788
    Threads
    49
    Credits
    583
    Thanked
    17

    Thumbs down Eik Chota Sa Masla Hai Mere Saath [please solve it]

    Webhosting in Pakistan
    ASSALAAM O ALAIKUM TO ALL OF YOU
    suppose hamary pas koi integer number hai to ham ne even odd check karna hai mager tens position per

    e.g 56 ho to wo number 5 hoga
    yani sirf left waaly number ko check kren ge !!!! is it possible if yes then how?
    .........]>FIRE<[........


  2. #2
    Fire's Avatar
    Fire is offline Senior Member+
    Last Online
    1st December 2014 @ 10:02 PM
    Join Date
    15 May 2009
    Location
    RooM # 101
    Age
    29
    Gender
    Male
    Posts
    788
    Threads
    49
    Credits
    583
    Thanked
    17

    Default

    any here???
    ......FIRE

  3. #3
    bais is offline Senior Member
    Last Online
    31st July 2015 @ 02:07 PM
    Join Date
    23 Aug 2008
    Location
    Izlooo
    Gender
    Male
    Posts
    3,519
    Threads
    96
    Thanked
    263

    Default

    kiya matlab? sawal detail ma btoe...samj nahi ai sahi se...

  4. #4
    zooma is offline Junior Member
    Last Online
    19th June 2017 @ 05:14 PM
    Join Date
    21 Feb 2009
    Age
    34
    Posts
    27
    Threads
    3
    Credits
    674
    Thanked
    2

    Thumbs up Please Run this Code .... Your Problem will Solved.....


    # include <conio.h>
    #include<iostream.h>
    int main()
    {
    int a,b;
    cout<<"Enter The Number in double Figure:" ;
    cin>>a;

    if (a>=10)
    {
    b=a/10;
    if (b % 2==0)
    cout<<b<<" is even";
    else
    cout<<b<<" is odd";
    }
    else
    cout<<"Number is not in double figure";
    getch();
    }

  5. The Following User Says Thank You to zooma For This Useful Post:

    Fire (2nd January 2012)

  6. #5
    Fire's Avatar
    Fire is offline Senior Member+
    Last Online
    1st December 2014 @ 10:02 PM
    Join Date
    15 May 2009
    Location
    RooM # 101
    Age
    29
    Gender
    Male
    Posts
    788
    Threads
    49
    Credits
    583
    Thanked
    17

    Default

    ab masla ye hai k first 10 numbers ka factorial display krwana hai zooma G plz help
    ..............FIRE

  7. #6
    Join Date
    07 Jan 2011
    Location
    Bruxelles
    Gender
    Male
    Posts
    19,862
    Threads
    1078
    Credits
    44,476
    Thanked
    3331

    Default

    AAP PANEY SAWAL KI TORI DETAIL DEY ISS TERHA JO CODE AAP KO DIYA GAYA HAI WOH 10 NUMBER SAY UPPER KE EVEN ODDS KO SHOW KARTA HAI OR DOUBLE FIGURE ENTER MANGTA HAI

    AAP YEH LINK CHECK KAREY
    تو امیر حرم، میں فقیرعجم
    تیرے گن اور یہ لب، میں طلب ہی طلب
    تو عطا ھی عطا، میں خطا ہی خطا
    تو کجا من کجا
    تو کجا من کجا

  8. The Following User Says Thank You to Derwaish For This Useful Post:

    Fire (4th January 2012)

  9. #7
    rajsiyal's Avatar
    rajsiyal is offline Senior Member+
    Last Online
    24th March 2015 @ 12:30 PM
    Join Date
    29 Sep 2009
    Location
    Karachi
    Gender
    Male
    Posts
    346
    Threads
    17
    Credits
    702
    Thanked
    13

    Default

    # include <conio.h>
    #include<iostream.h>
    int main()
    {
    int a,b;
    cout<<"Enter The Number:" ;
    cin>>a;

    if (a>=10)
    {
    b=a/10;
    if (b % 2==0)
    cout<<b<<" is even";
    else
    cout<<b<<" is odd";
    }
    else
    {
    if (a % 2==0)
    cout<<a<<" is even";
    else
    cout<<a<<" is odd";
    }
    getch();
    }

  10. The Following User Says Thank You to rajsiyal For This Useful Post:

    Fire (4th January 2012)

  11. #8
    rajsiyal's Avatar
    rajsiyal is offline Senior Member+
    Last Online
    24th March 2015 @ 12:30 PM
    Join Date
    29 Sep 2009
    Location
    Karachi
    Gender
    Male
    Posts
    346
    Threads
    17
    Credits
    702
    Thanked
    13

    Smile try this.



    # include <conio.h>
    #include<iostream.h>
    int main()
    {
    int a,b;
    cout<<"Enter The Number:" ;
    cin>>a;

    if (a>=10)
    {
    b=a/10;
    if (b % 2==0)
    cout<<b<<" is even";
    else
    cout<<b<<" is odd";
    }
    else
    {
    if (a % 2==0)
    cout<<a<<" is even";
    else
    cout<<a<<" is odd";
    }
    getch();
    }

  12. The Following User Says Thank You to rajsiyal For This Useful Post:

    Fire (4th January 2012)

  13. #9
    Shehzad Iqbal's Avatar
    Shehzad Iqbal is offline Advance Member+
    Last Online
    22nd November 2016 @ 07:12 PM
    Join Date
    16 Jan 2009
    Location
    Karachi
    Gender
    Male
    Posts
    28,453
    Threads
    2269
    Credits
    8,349
    Thanked
    5385

    Default

    تھریڈ کو ایجوکیشنل ہیلپ زون منتقل کیا گیا

  14. The Following User Says Thank You to Shehzad Iqbal For This Useful Post:

    Fire (4th January 2012)

  15. #10
    Fire's Avatar
    Fire is offline Senior Member+
    Last Online
    1st December 2014 @ 10:02 PM
    Join Date
    15 May 2009
    Location
    RooM # 101
    Age
    29
    Gender
    Male
    Posts
    788
    Threads
    49
    Credits
    583
    Thanked
    17

    Default

    Bhai jan mera masla hall ho gya he now you can close this thread if you want
    .....................fire

  16. #11
    Join Date
    03 Jan 2006
    Posts
    6,398
    Threads
    203
    Credits
    726
    Thanked
    1581

    Default

    Webhosting in Pakistan
    Quote Fire said: View Post
    Bhai jan mera masla hall ho gya he now you can close this thread if you want
    .....................fire
    Problem Solved.


Similar Threads

  1. Jab uska dard mere saath WAFA kerta ha!!
    By shum_amin in forum Urdu Adab & Shayeri
    Replies: 54
    Last Post: 9th June 2010, 03:00 PM
  2. Replies: 10
    Last Post: 1st September 2009, 04:39 AM
  3. koi hai jo mera masla solve kare
    By don_90 in forum Ask an Expert
    Replies: 9
    Last Post: 8th April 2009, 04:45 PM
  4. chota sa masla
    By Allah ka banda in forum Solved Problems (IT)
    Replies: 1
    Last Post: 3rd August 2006, 06:53 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •