Sponsored Links


Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: cs201 assignment#1 solution required

  1. #1
    Senior Member
    Join Date
    Apr 2011
    Posts
    106

    Icon16 cs201 assignment#1 solution required

    Sponsored Links1



  2. #2
    Senior Member
    Join Date
    Apr 2011
    Posts
    106
    The solution is still not uploaded.

  3. #3
    Administrator
    Join Date
    Oct 2011
    Posts
    468
    wil upload g... if the date is extended then... with video.
    03009520262
    Rabeel Website

  4. #4
    Senior Member
    Join Date
    Apr 2011
    Posts
    106
    okz thanks

  5. #5

  6. #6
    Junior Member
    Join Date
    Jan 2011
    Posts
    6
    #include<iostream.h>
    #include<conio.h>
    using namespace std;
    int main()
    {
    int p=0; //initialized price
    int tax=0; //initialized tax
    cout << "*** Virtual Resturant ***"<<endl<<endl;
    yes:
    cout << "Enter The Price Of Meal: ";
    cin >> p;
    if(p>0 && p<=1000)
    {
    tax = 0;
    }
    else if(p>1000 && p<=2000)
    {
    tax = (p * 1)/100;
    }
    else if(p>2000)
    {
    tax = (p * 2)/100;
    }

    cout << endl << endl;
    cout << "Price of Meal: "<< p << endl;
    cout << "Sales Tax: "<< tax << endl;
    cout << "---------------------------" << endl;
    int total; //initialized total amount
    total = p + tax;
    cout << "Total Amount: "<< total << endl<<endl;
    if(total < 1000)
    cout << "This customer should be serverd with Candies"<<endl;
    else if(total >= 1000 && total < 2000)
    cout << "This customer should be serverd with Sweet Bread"<<endl;
    else if(total >= 2000 && total < 3000)
    cout << "This customer should be serverd with Pudding"<<endl;
    else if(total >= 3000 && total < 4000)
    cout << "This customer should be serverd with Cake"<<endl;
    else if(total >= 4000)
    cout << "This customer should be serverd with Trifle"<<endl;
    cout << endl << endl;
    char choice; //initizlized choice
    cout << "Do you want to process another customer? "<<endl;
    cout << "Enter 'Y' for Yes or 'N' to Exit: ";
    cin >> choice;
    cout << endl;
    switch(choice)
    {
    case 'Y':
    goto yes;
    case 'y':
    goto yes;
    case 'n':
    goto no;
    case 'N':
    goto no;
    default:
    goto no;
    }
    no:
    cout << endl;
    system("pause");
    }

  7. #7

  8. #8
    Junior Member
    Join Date
    Nov 2011
    Posts
    10
    phr mjy spp sikha dain plzzzzzzzzzzz

  9. #9
    Junior Member
    Join Date
    Oct 2011
    Posts
    1
    when the cs 201 assignment solution file will be upload

  10. #10
    Junior Member
    Join Date
    Nov 2011
    Posts
    10
    thank u soooooooooooooooooooooooooooo much for solution

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Need CS201 Assignment No 5 Solution
    By Muhammad Abdullah Khan in forum Assignments & Solutions
    Replies: 14
    Last Post: 07-06-2012, 04:58 PM
  2. CS201 assignment solution required
    By stacy in forum CS201 Introduction to Programming
    Replies: 1
    Last Post: 01-13-2012, 09:02 PM
  3. Replies: 1
    Last Post: 06-17-2011, 09:22 PM
  4. Replies: 0
    Last Post: 06-17-2011, 09:17 PM
  5. cs201 gdb solution required
    By harib raza in forum GDB Discussion
    Replies: 7
    Last Post: 04-15-2011, 02:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
-: Vuhelp Disclaimer :-
None of the files shown here are hosted or transmitted by this server. The links are provided solely by this site's users. The administrator's or staff of Vuhelp.net cannot be held responsible for what its users post, or any other actions of its users. You may not use this site to distribute or download any material when you do not have the legal rights to do so. It is your own responsibility to adhere to these terms. If you have any doubts about legality of content or you have any suspicions, feel free to contact us.
Online Education | JhelumSoft