Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct distance {
- int val, num;
- void assign(int number, int value) {
- val = value;
- num = number;
- }
- int print1() {
- return val;
- }
- int print2() {
- return num;
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement