- 01
 - 02
 - 03
 - 04
 - 05
 - 06
 - 07
 - 08
 - 09
 - 10
 - 11
 - 12
 - 13
 - 14
 - 15
 - 16
 - 17
 - 18
 - 19
 - 20
 - 21
 - 22
 - 23
 - 24
 - 25
 - 26
 - 27
 - 28
 - 29
 - 30
 - 31
 - 32
 - 33
 - 34
 - 35
 - 36
 - 37
 
                        #include "pch.h"
#include <iostream>
using namespace std;
struct _Point {
	double x, y, z;
};
void setPoint(_Point &, double = 0, double = 0, double = 0);
void outPoint(const _Point &, char);
int main()
{
	_Point A, B, C, D;
	setPoint(A, 1, 5, 6.78);
	setPoint(B);
	setPoint(C, 8);
	setPoint(D, 3, 4);
	outPoint(A,'a');
	outPoint(B,'b');
	outPoint(C,'c');
	outPoint(D,'d');
}
void setPoint(_Point &name, double a, double b, double c) {
	name.x = a;
	name.y = b;
	name.z = c;
}
void outPoint(const _Point &name,char ch) {
	
	cout <<ch<< "(" << name.x << ", " << name.y << ", " << name.z << ")\n";
}