#include <stdio.h>

struct Device {
    char name[100];
    int price;
    int quantity;
};

void printDevice(struct Device device) {
    printf("%s\t%d\t\t%d\n", device.name, device.price, device.quantity);
}

int main() {
    struct Device devices[] = {
        {"CPU_INTEL_CORE_I5_10400F", 5490, 1},
        {"ASROCK_B460M_PRO_4", 3050, 1},
        
    };
    int numDevices = sizeof(devices) / sizeof(devices[0]);

    printf("Device\tPrice/device\tNumber of devices\n");
    for (int i = 0; i < numDevices; i++) {
        printDevice(devices[i]);
    }

    return 0;
}