This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
int main() { | |
int numbers[2]; | |
printf("Inserisci il primo numero: "); | |
scanf("%d", &numbers[0]); | |
printf("Inserisci il secondo numero: "); | |
scanf("%d", &numbers[1]); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Stock allocator | |
This article explains the concept of a stock allocator and its usage. | |
During the checkout process, after the delivery step, the order stocks the ordered stock items | |
to ship them. | |
The stock allocator defines the logic with which these packages are created. | |
The allocator is called by `Spree::Stock::SimpleCoordinator` when allocating inventory for an order. |
OlderNewer