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: 658

.

+ 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

## Latest Activity

imran updated their profile
1 hour ago
2 hours ago
Syed Ilyas Kazmi left a comment for sufian tahir
3 hours ago
Syed Ilyas Kazmi left a comment for Amjad Sohail
3 hours ago
3 hours ago
Maham Raza. replied to Maham Raza.'s discussion Sabar...
3 hours ago
+ ! ! ! !Marshmallow replied to Maham Raza.'s discussion Sabar...
3 hours ago
+ ! ! ! !Marshmallow liked Maham Raza.'s discussion Sabar...
3 hours ago
3 hours ago
3 hours ago
3 hours ago
Maham Raza. liked Mani Siddiqui BS VIII's discussion سمجھ نہیں آتی
3 hours ago

1

2

3