Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
cs201 assignment#1 solution required
#1
Plz upload the solution of cs 201 assignment#1 .as soon as possible ...!
Reply
#2
The solution is still not uploaded.Confusedmileys12:
Reply
#3
wil upload g... if the date is extended then... with video.
[SIZE="3"]03009520262[/SIZE]
Rabeel Website
Reply
#4
okz thanks
Reply
#5
you are most welcome.
Reply
#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");
}
Reply
#7
STDIO.h yeh dalni thi ?
Reply
#8
phr mjy spp sikha dain plzzzzzzzzzzz
Reply
#9
when the cs 201 assignment solution file will be upload
Reply
#10
thank u soooooooooooooooooooooooooooo much for solution
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  get your solution in 24 hours 2020 Xpert 0 8,802 10-11-2020, 10:09 PM
Last Post: Xpert
  get your solution in 24 hours 2020 Xpert 0 3,184 10-11-2020, 10:09 PM
Last Post: Xpert
  vuhelp.com forum is providing solution of virutal university students in 24 hour 2014 Xpert 3 2,491 11-17-2014, 06:11 PM
Last Post: leo861323
  GDB of FIN730 - Investment Analysis & Portfolio Management (Need Solution) Muhammad Husnain Mughal 1 1,877 05-15-2014, 08:21 PM
Last Post: hondasr8
  GDB of FIN723 - Taxation Management (Need Solution) Muhammad Husnain Mughal 1 2,930 05-07-2014, 04:09 AM
Last Post: Vuhelper
  Need ACC501 - Business Finance Assignment No 2 Solution. Umar Abbas 2 4,251 02-07-2014, 08:23 PM
Last Post: Umar Abbas
  operating assinment solution help nenanena 9 6,110 08-18-2013, 03:53 AM
Last Post: Xpert
  sta301 assignment 4 27 jun bc110200090 6 3,586 01-26-2013, 02:05 AM
Last Post: Vuhelper
  cs506 2nd assignment millee 0 2,663 12-04-2012, 11:30 PM
Last Post: millee
  cs506 2nd Assignment Neelam Ahmad 5 3,135 12-04-2012, 11:24 PM
Last Post: Vuhelper

Forum Jump:


Users browsing this thread: 1 Guest(s)