[ create a new paste ] login | about

Link: http://codepad.org/PkkNn9kV    [ raw code | fork ]

C, pasted on Jul 26:
#include <stdio.h>
struct SYOHIN
{
 int kosu;
 int tanka;
 int uriage;
};

void keisan(struct SYOHIN *x);

int main(void)
{
 struct SYOHIN a, b, c;
 //<商品別の個数と単価の代入>
 keisan(&a);
 keisan(&b);
 keisan(&c);
}

void keisan(struct SYOHIN *x)
{
 //<商品Xの売り上げの計算>
}


Output:
No errors or program output.


Create a new paste based on this one


Comments: