Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
Friend function in c++:
class miles;
class km
{
float value;
public :
// void input();
km convert(km ,int a ) ;
void output()
cout << value;
}
};
km km :: convert(km a,int b)
a.value = b * 1.61;
return a;
class miles
int value;
public:
void input()
cout << "Enter the value\n";
cin >> value;
friend km & convert(km &,miles);
km & convert(km & a,miles b)
a= b.value * 1.61;
void main()
km a;
miles b;
clrscr();
b.input();
a= convert (a,b);
a.output();
getch();
depth description of the inside and outside typecasting
Need help finishing my homework. It''s been 5 years since I''ve use C++. I am a VN.Net programmer. -Todd
what is the purpose of pointer ? what is the syntax? how it works?
Explain structured programming The principal idea behind structured programming was as easy as the idea of "divide and conquer." A computer program could be regarded as having
sir,why we use virtual function
•Flow Chart and Pseudocode of Add module - Hotel booking - Signup for new membership Delete module - Hotel reservation cancellation - Change of reservation
People sometimes give their phone numbers using one or more alphabetic characters. Create a program that converts the alphabetic characters to their corresponding numbers. For exam
Inheritance is the process of forming new classes, called derived classes, from existing classes or base classes. The derived class inherits all the capabilities of the base class,
: Write a program that prompts the user to enter five digit positive numbers. The program then outputs the digits of the number one digit per line. Eg if the user enters 32456, th
palindrome program with minimum character replacements
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd