We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

www.vustudents.ning.com

 www.bit.ly/vucodes + Link For Assignments, GDBs & Online Quizzes Solution www.bit.ly/papersvu + Link For Past Papers, Solved MCQs, Short Notes & More

Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

# cs201 assgn # 3 solution without error.......

Have a chas(urdu wala) and smile...................

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?

Views: 649

.

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

### Replies to This Discussion

Fellows here is a sol but an error in compiling

Attachments:

why are you people uploading a single code full of errors again and again......

#include
#include
#include
using namespace std;
class Customer
{
friend int Bill(int);
private:
string Name;
int Customer_Id,Spending;

public:

Customer()
{
Name="person 1";
Customer_Id=0;
Spending=0;
}
Customer(string n,int i,int s)
{
Name=n;
Customer_Id=id;
Spending=s;
}
void setter()
{
cout"Enter Name Of Customer : "; cin>>Name;
cout"Enter Id Of Customer : "; cin>>Customer_Id;
cout"Enter Total Spending Of Customer : "; cin>>Spending;
}
void getter()
{
cout"Name : ""ID : ""Spending : ""Total Bill : "5000) { cout"1nd condation"<5000 && s<10000) { cout"2nd condation"<10000)
{
cout"3nd condation"; Discount=s*3/100; Tax=s*15/100; s=s+Tax; s=s-Discount; } return s; } int main(int argc, char *argv[]) { Customer *obj1; obj1=new Customer; Customer *obj2; obj2=new Customer("ALI",223,8550); Customer *obj3; obj3=new Customer; cout"Bill detail for customer 1,initialized with default constructor"<getter();

cout"Bill detail for customer 2,initialized with Parameterized constructor"<getter();

obj3->setter();
cout"Bill detail for customer 3,inputs entered by user"<getter();
system("PAUSE");
return EXIT_SUCCESS;
}

dear there are 21 error in this solution....

wrong one, where is friend function implementation...!!!

sb galat solution kion post krtay ho..?????

wrong hai, dont copy this one, ok

to tahir bhai ap theek kun nhi uplod krty ho ??

mail me:

tahirramzan1@yahoo.com

10 minutes ago
10 minutes ago
17 minutes ago
36 minutes ago
37 minutes ago
55 minutes ago
55 minutes ago
1 hour ago
1 hour ago
1 hour ago

1

2

3