c++ program for convert dollar to rupees - c program with parth patthar

c program with parth patthar

learn c and c++ in better way and with simple example.

Believe on your own logic

Saturday, November 24, 2018

c++ program for convert dollar to rupees

/*program for convert dollar to rupees*/
#include<iostream.h>
#include<conio.h>
class dollar
{
int d;
public:
void getdollar()
{
cout<<"input dollar:";
cin>>d;
}
int cal()
{
return d*65;
}
};
class rupees
{
int r;
public:
rupees(){}
rupees(dollar d1)
{
r=d1.cal();
}
void put()
{
cout<<"rupees="<<r;
}
};
int main()
{
clrscr();
dollar d;
rupees r;
d.getdollar();
r=d;
r.put();
getch();
return 0;
}

2 comments:

  1. It is fine, nonetheless evaluate the information and facts around this correct. money translater

    ReplyDelete
  2. Best 5 casinos that accept Bitcoin in 2021 | DrMCD
    The most popular of 제주도 출장마사지 the sites that accept bitcoins 전라남도 출장샵 in 2021 is Red Dog Casino. This 목포 출장샵 website uses 의정부 출장마사지 a high-powered software called Wildz, which is based 문경 출장마사지 on

    ReplyDelete