#include<stdio.h>

int main(void)
{
    struct Vetor
    {
        float x;
        float y;
        float z;
    };

    struct Vetor v1, v2;

    printf("Digite as coordenadas de v1: ");
    scanf("%f %f %f", &v1.x, &v1.y, &v1.z);

    printf("\nDigite as coordenadas de v2: ");
    scanf("%f %f %f", &v2.x, &v2.y, &v2.z);

    printf("\nv1 + v2 = \(%.2f, %.2f, %.2f\)\n", v1.x+v2.x, v1.y+v2.y, v1.z+v2.z);

    system("pause");
    return 0;
}