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!
Convert coordinate:
class rect{
private :
float x,y;
public :
void input()
{
cout <<"enter rect coords\n";
cin >> x>> y>>"\n";
}
void output()
cout << x<<"\n" << y;
rect ()//dummy consructor
rect (float a,float b)//constructor
x=a;
y=b;
}; //end of class
class polar {
float r,q;
cout <<"enter polar coords\n";
cin>>r>>q;
cout << r< } operator rect(); };//end of class polar :: operator rect() { float a=r*cos(22*q/(7*180)); float b=r*sin(22*q/(7*180)); return rect(a,b);//calling constructor inbuild that it will //return rect type } void main() { rect a; polar p; clrscr(); p.input(); a=p; a.output(); getch(); }
} operator rect(); };//end of class polar :: operator rect() { float a=r*cos(22*q/(7*180)); float b=r*sin(22*q/(7*180)); return rect(a,b);//calling constructor inbuild that it will //return rect type } void main() { rect a; polar p; clrscr(); p.input(); a=p; a.output(); getch(); }
operator rect();
};//end of class
polar :: operator rect()
float a=r*cos(22*q/(7*180));
float b=r*sin(22*q/(7*180));
return rect(a,b);//calling constructor inbuild that it will
//return rect type
void main()
rect a;
polar p;
clrscr();
p.input();
a=p;
a.output();
getch();
I need help programing this... In this exercise, you will create a program for the sales manager at Computer Haven, a small business that offers motivational seminars to local comp
Ask question #Minimum 100 words accepted program for polishing jewels#
Develop a C++ program that uses a while to determine the gross pay (in Dollars) for each of several employees. The company pays “straight-time” for the first 40 hours worked by ea
Create a pseudocode in getting Calendar Quarter. The program should identify which quarter falls the given date. Note: Consider the date format DDMMYYYY.
please answer the question of following Write a function that calculates the number of elapsed days between two dates. For example the days between Feb 3, 1970 and June 21, 1980? B
how to fill the blank spaces in the board of 4*4 matrix with the minimum of 4 colors and the condition is the adjacent element should not have the same colour
write an algorithm that reads a postive integer n and then finds and prints the sum of all integers between 1 and n (inclusive) that are disvisible by 7. please write this using c
c programing forcalculating savings of an employee
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
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