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

.

+ 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

+ ! ! ! ! !Marshmallow updated their profile
1 hour ago
2 hours ago
maheen mahan and Bilal joined +M.Tariq Malik's group

### CS610 Computer Network

5 hours ago
6 hours ago
Munna Bhai MBBS posted a discussion

### Win RAR

8 hours ago
9 hours ago
zohaib iftikhar liked zohaib iftikhar's discussion ...* SUNO ...SUNO NA!...*
9 hours ago
zohaib iftikhar posted a discussion

### ...* SUNO ...SUNO NA!...*

9 hours ago
Hadeeb Talib joined +M.Tariq Malik's group

### CS101 Introduction to Computing

9 hours ago
Hadeeb Talib left a comment for Moureen Max
9 hours ago
9 hours ago
10 hours ago

1

2

3