Results 1 to 11 of 11

Thread: help me for a program

  1. #1
    mukhtar0's Avatar
    mukhtar0 is offline Senior Member+
    Last Online
    18th December 2019 @ 11:28 AM
    Join Date
    20 Jun 2011
    Age
    35
    Gender
    Male
    Posts
    569
    Threads
    67
    Credits
    90
    Thanked
    9

    Default help me for a program

    Mujhe ake task mila h uni mein us mein mujhe apkii help cahiya .. mein ake output day raha hun apko app please mujhe uska input bataye ..
    Enter number one:_____.
    Enter number two:_____.
    press 1 for additon
    Press 2 for substration
    press 3 for multiplicatin
    press 4 for division
    choice (__)
    your ans of addition is______..
    shyd koyii mera output mein mistake ho ager h to bhii bataiyaga aur mujhe input bhii day please

  2. #2
    mukhtar0's Avatar
    mukhtar0 is offline Senior Member+
    Last Online
    18th December 2019 @ 11:28 AM
    Join Date
    20 Jun 2011
    Age
    35
    Gender
    Male
    Posts
    569
    Threads
    67
    Credits
    90
    Thanked
    9

    Default

    program turbo c++ mein banana h mujhe

  3. #3
    AsifSattarvi's Avatar
    AsifSattarvi is offline Advance Member
    Last Online
    12th October 2022 @ 02:54 PM
    Join Date
    20 May 2012
    Gender
    Male
    Posts
    6,594
    Threads
    104
    Credits
    30,058
    Thanked
    960

    Default

    ویسے تو یہ بہت آسان کام ہے مگر بہتر ہوتا کہ آپ خود اس پروگرام کو بناتے اور چیک کرتے جہاں غلطی کی نشاندہی ہوتی اُس کو ہمارے ساتھ شئیر کرتے کہ اسے درست کر کے دے دیں توزیادہ بہتر ہوتا
    میں شہر سے باہر تھا ابھی لوٹا ہوں پر بہت مصروف ہوں اس لئے بنا کر دے نہیں سکتا نہ ہی میرے پاس ابھی ٹربو سی ++ انسٹال ہے
    انتظار کریں شاید کوئی ممبر آپ کی رہنمائی کر دے اس لے علاوہ آپ کے اوٹ پٹ میں بھی غلطی ہے

  4. #4
    mukhtar0's Avatar
    mukhtar0 is offline Senior Member+
    Last Online
    18th December 2019 @ 11:28 AM
    Join Date
    20 Jun 2011
    Age
    35
    Gender
    Male
    Posts
    569
    Threads
    67
    Credits
    90
    Thanked
    9

    Default

    Bilkul sahii h sir ..
    Per mein Abhii uniiversity mein gaya hun mein abhii new hun .. us liya mujhe thorii mushkilat ho rahii h ..
    and no problem .. May be koyii aur reply day
    Thanks for ur reply ..

  5. #5
    AsifSattarvi's Avatar
    AsifSattarvi is offline Advance Member
    Last Online
    12th October 2022 @ 02:54 PM
    Join Date
    20 May 2012
    Gender
    Male
    Posts
    6,594
    Threads
    104
    Credits
    30,058
    Thanked
    960

    Default

    ٹھیک ہے برادر خوش رہیں
    آپ کو یہ کام کب تک درکار ہے؟

  6. #6
    umer naseer6 is offline Senior Member+
    Last Online
    8th August 2020 @ 10:10 PM
    Join Date
    04 Aug 2015
    Age
    28
    Gender
    Male
    Posts
    126
    Threads
    4
    Credits
    152
    Thanked
    2

    Default

    int a,b;
    char ch;
    Cout<<"Enter first no:";
    cin>>a;
    cout<<"Enter second no:";
    cin>>b;
    cout<<"Enter 1 for addition 2 for sub 3 for mul 4 for div:";
    cin>>ch;

    if(ch==1)
    {
    cout<<a+b<<endl;
    }
    if(ch==2)
    {cout<<a-b<<endl;
    }
    if(ch==3)
    {cout<<a/b<<endl;
    }
    if(ch==4)
    {
    cout<<a*b<<endl;
    }

  7. #7
    Bilal242's Avatar
    Bilal242 is offline Senior Member+
    Last Online
    28th January 2023 @ 04:53 AM
    Join Date
    19 Jul 2014
    Location
    Ada Sheikhan
    Age
    27
    Gender
    Male
    Posts
    326
    Threads
    36
    Credits
    2,194
    Thanked
    21

    Default

    Nice q frnd

    Sent from my XT907

  8. #8
    M.U.A.K 47 is offline Member
    Last Online
    24th August 2017 @ 02:50 PM
    Join Date
    28 Aug 2016
    Location
    Dir upper
    Gender
    Male
    Posts
    332
    Threads
    37
    Thanked
    25

    Default

    Hmm .

  9. #9
    basimjaved is offline Member
    Last Online
    14th February 2018 @ 06:08 PM
    Join Date
    29 Feb 2016
    Age
    23
    Gender
    Male
    Posts
    77
    Threads
    46
    Thanked
    2

    Default

    [FONT=""][COLOR=""][SIZE=""]#include<iostream.h>
    #include<conio.h>
    void main()
    {
    clrscr();

    char ch;
    cout<<"enter your character operator =";
    cin>>ch;
    switch(ch)
    {
    case '+':
    cout<<"the addition of a and b"<<(a+b);
    break;
    case '-';
    cout<<"the substraction of a and b"<<(a-b);
    break;
    default:
    cout<<"null character your pressed ";
    case '*':
    cout<<"the multiply of a and b"<<(a*b);
    break;


    }



    getch();
    }[/SIZE][/COLOR][/FONT]

  10. #10
    Join Date
    09 Apr 2009
    Location
    کر&
    Gender
    Male
    Posts
    17,991
    Threads
    360
    Credits
    32,751
    Thanked
    1813

    Default

    امید تو ہے کہ اب تک برادر کا مسلہ حل ہو گیا ہوگا

  11. #11
    hassannasir is offline Senior Member+
    Last Online
    22nd December 2022 @ 02:46 PM
    Join Date
    06 Jul 2020
    Gender
    Male
    Posts
    145
    Threads
    40
    Credits
    596
    Thanked
    0

    Default

    good question

Similar Threads

  1. Help New Program
    By Bilal242 in forum Ask an Expert
    Replies: 5
    Last Post: 17th May 2015, 05:05 PM
  2. c++ program help
    By Umber Masood in forum Ask an Expert
    Replies: 0
    Last Post: 14th March 2015, 07:58 PM
  3. C++ Need Program
    By Rizwan54 in forum Educational Help
    Replies: 3
    Last Post: 28th April 2012, 08:24 AM
  4. Answered PTV Old program
    By farooq_18 in forum Ask an Expert
    Replies: 3
    Last Post: 22nd February 2011, 06:53 PM
  5. Solved plz help me in the following c++ program
    By raza89 in forum Solved Problems (IT)
    Replies: 4
    Last Post: 19th October 2009, 08:29 AM

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
  •