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();
#write a program that counts the number of occurances of the string in the n-th padovan string p(n)
Byteland county is very famous for luminous jewels. Luminous jewels are used in making beautiful necklaces. A necklace consists of various luminous jewels of particular colour. Nec
how to compare one file with another file. comparison should be like first line of first file compare every line of second file until it gets a blank line starting from the top and
Question: (a) (i) Explain how class members can be accessed when using objects of the class. Use a suitable example to illustrate your answer. (ii) Explain how the privat
A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome
#C Why don''t online compilers support the header file? What can I do to resolve this? PS. I have tried , does''nt work either. Thannk in advance.
What are Arrays? Numerous applications require the processing of multiple data items that have identical characteristics. In such circumstances it is frequently convenient to p
program to find if a no . is prime or not
assume that the first integer read with cin specifies the number of values remaining to be entered. that program should read only one value each time cin is executed .a typical inp
Hi is there any chance to get assignment for fresher tutor
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