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

Looking For Something at vustudents.ning.com? Click Here to Search

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

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

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

+ How to Follow the New Added Discussions at Your Mail Address?

+ 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?


See Your Saved Posts Timeline

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)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)

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

RSS

© 2020   Created by +M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service

.