Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Float
//g++ 5.4.0 #include<iostream.h> #include<conio.h> Class FLOAT { Float a; Public: FLOAT () { Cout<<" enter the float number"; Cin>>a; } void operator+(FLOAT x) { Cout<<"\n addition of two numbers"<<a+x.a; } Void operator-(FLOAT x) { Cout<<"\n subtraction of two numbers"<<a-x.a; } Void operator*(FLOAT x) { Cout<<"\n multiplication of two numbers"<<a*x.a; } Void operator/(FLOAT x) { Cout<<"\n division of two numbers"<<a/x.a; } }; Void main() { Clrscr (); FLOAT F1,F2; F1+F2; F1-F2; F1*F2; F1/F2; getch(); }
run
|
edit
|
history
|
help
0
cppPyClamInher
dsu on tree (http://codeforces.com/contest/208/problem/E)
cynb
star print1
const_cast
Pairs having sum equal to target
CPP - ex 5 - solution
anagram
Einstein's Physics
code_chef