Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- class Number
- {
- private:
- float value;
- public:
- Number(float a) {
- this->value = a;
- }
- void setVal(float nv) {
- value = nv;
- }
- float getVal() { return value;}
- };
- int main()
- {
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement