Page 1 of 2 12 LastLast
Results 1 to 12 of 14

Thread: An expert plz help its urgent

  1. #1
    teepar is offline Senior Member+
    Last Online
    17th September 2013 @ 02:10 PM
    Join Date
    19 Feb 2009
    Age
    39
    Posts
    40
    Threads
    4
    Credits
    0
    Thanked
    0

    Post An expert plz help its urgent

    Q:1 Write a c++ praogram to input 3 values frm a key board tha calculates and display a maximum value.
    Q:2 A shopkeper is decided to give 10% discount to all parchases and will give 20% discount.if the perchace is greater than 5000.
    writ a c++ program to input the purchase amount and than calculate and display payable amount by a costumer.

  2. #2
    loinheart's Avatar
    loinheart is offline Senior Member+
    Last Online
    17th July 2010 @ 12:53 PM
    Join Date
    10 Jul 2009
    Age
    34
    Posts
    58
    Threads
    6
    Credits
    945
    Thanked: 1

    Default

    void main(){
    clrscr();
    int a,b,c;
    cout<<"Enter the three vlaues .......";
    cin>>a>>b>>c;
    cout<<a<<b<<c;
    getch()
    }

  3. #3
    loinheart's Avatar
    loinheart is offline Senior Member+
    Last Online
    17th July 2010 @ 12:53 PM
    Join Date
    10 Jul 2009
    Age
    34
    Posts
    58
    Threads
    6
    Credits
    945
    Thanked: 1

    Default

    void main(){
    clrscr();
    cout<<"Entert the total purchase ammount";
    float a,b,c,d;
    cin>>a;
    if(a<=5000){
    s=(a/100)*20
    cout<<"your dicount is "<<a<<"%";
    }
    if(a>=5000){
    s=(a/100)*10
    cout<<"your dicount is "<<a<<"%";
    }

  4. #4
    teepar is offline Senior Member+
    Last Online
    17th September 2013 @ 02:10 PM
    Join Date
    19 Feb 2009
    Age
    39
    Posts
    40
    Threads
    4
    Credits
    0
    Thanked
    0

    Default

    thans broyher.thanx a lot.aap ne bht bara prblm hal kr diya maira.

  5. #5
    Ganxtr's Avatar
    Ganxtr is offline Advance Member
    Last Online
    5th July 2019 @ 09:15 AM
    Join Date
    15 Nov 2009
    Location
    CRIME CITY
    Posts
    1,740
    Threads
    18
    Credits
    83
    Thanked
    100

    Default

    Great
    your thread is very nice, thanks 4 sharing with us!

  6. #6
    elegantking is offline Junior Member
    Last Online
    24th February 2018 @ 11:18 PM
    Join Date
    12 Feb 2010
    Location
    Faisalabad
    Age
    33
    Gender
    Male
    Posts
    15
    Threads
    0
    Credits
    0
    Thanked
    0

    Default Flow charts

    kisi ko c++ mai flow charts ka concept clear ho to plz help me.....

  7. #7
    ishwa's Avatar
    ishwa is offline Senior Member+
    Last Online
    15th June 2010 @ 06:17 PM
    Join Date
    04 Jun 2010
    Location
    dil walon ki nagri mein
    Posts
    242
    Threads
    4
    Credits
    0
    Thanked
    3

    Default

    Quote loinheart said: View Post
    void main(){
    clrscr();
    int a,b,c;
    cout<<"Enter the three vlaues .......";
    cin>>a>>b>>c;
    cout<<a<<b<<c;
    getch()
    }
    dear ye program glt hy mere khyal mein,
    bcz Question mein hy k maximum value print ho

  8. #8
    ishwa's Avatar
    ishwa is offline Senior Member+
    Last Online
    15th June 2010 @ 06:17 PM
    Join Date
    04 Jun 2010
    Location
    dil walon ki nagri mein
    Posts
    242
    Threads
    4
    Credits
    0
    Thanked
    3

    Default

    FINDING GREATER NO

    #include <iostream.h>
    #include <conio.h>
    void main()
    {
    clrscr();
    int a,b,c;
    cout<<"enter 1st no=";
    cin>>a;
    cout<<"enter 2nd no=";
    cin>>b;
    cout<<"enter 3rd no=";
    cin>>c;

    if(a>b)
    if(a>c)
    cout<<"1st no is greater";
    else
    cout<<"3rd no is greater"
    else
    if(b>c)
    cout<<"2nd no is greater";
    else
    cout<<"3rd no is greater";
    getch()
    }

  9. #9
    sana_moon's Avatar
    sana_moon is offline Junior Member
    Last Online
    3rd December 2010 @ 01:37 PM
    Join Date
    27 Nov 2010
    Gender
    Female
    Posts
    3
    Threads
    0
    Credits
    0
    Thanked
    0

    Default

    so nice sharing

  10. #10
    Shining Star's Avatar
    Shining Star is offline Senior Member+
    Last Online
    25th November 2011 @ 10:38 PM
    Join Date
    02 Dec 2010
    Gender
    Male
    Posts
    201
    Threads
    2
    Credits
    0
    Thanked
    2

    Default

    v nice

  11. #11
    suraj goyal's Avatar
    suraj goyal is offline Senior Member
    Last Online
    14th March 2019 @ 02:28 PM
    Join Date
    05 Jul 2010
    Location
    suncity(jodhpur)
    Age
    34
    Gender
    Male
    Posts
    1,950
    Threads
    43
    Credits
    69
    Thanked
    89

    Default

    Quote ishwa said: View Post


    dear ye program glt hy mere khyal mein,
    bcz Question mein hy k maximum value print ho
    agreed
    [CENTER][COLOR="Blue"][SIZE="5"]Respect seniors & follow the ITD rules[/SIZE][/COLOR][/CENTER][CENTER][COLOR="Red"][SIZE="5"]Peace and friendship...[/SIZE][/COLOR][/CENTER][CENTER][COLOR="blue"][SIZE="5"][URL="http://www.itdunya.com/showthread.php?p=2578950#post2578950"]disable right click on desktop[/URL] [/SIZE][/COLOR][/CENTER]

  12. #12
    alims is offline Junior Member
    Last Online
    16th October 2012 @ 11:38 PM
    Join Date
    25 Jul 2009
    Posts
    20
    Threads
    3
    Credits
    0
    Thanked
    0

    Default correct source code.

    Quote teepar said: View Post
    Q:1 Write a c++ praogram to input 3 values frm a key board tha calculates and display a maximum value.
    Q:2 A shopkeper is decided to give 10% discount to all parchases and will give 20% discount.if the perchace is greater than 5000.
    writ a c++ program to input the purchase amount and than calculate and display payable amount by a costumer.
    agar abi bi aap ko yeh sb chahye then contact me

Page 1 of 2 12 LastLast

Similar Threads

  1. Expert urgent help
    By Shaheen34 in forum Mobile phones problems and Help Zone
    Replies: 1
    Last Post: 1st April 2015, 10:36 AM
  2. Urgent Help From All Expert...???
    By Aamirshehzad in forum Ask an Expert
    Replies: 2
    Last Post: 3rd September 2013, 04:53 PM
  3. Urgent help plz expert
    By Kashifkl in forum Ask an Expert
    Replies: 2
    Last Post: 6th May 2013, 12:56 PM
  4. Expert plz Help me Urgent ..........
    By Love-for-you in forum Ask an Expert
    Replies: 3
    Last Post: 14th June 2012, 02:44 PM
  5. Expert Help Me Urgent
    By anwar_hussain in forum Ask an Expert
    Replies: 6
    Last Post: 18th February 2011, 08:58 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
  •