C语言实例010

大家好,我是一童

#include 
#define N 20
#define DELTA 2
int bestlen;
int bestsele[N];
int sele[N];
int n;
int orderlen[N];
int total;
void try1();
void main()
{
	int i;
	printf("\n Please enter total length of the steel:\n");/* 输入钢材总长 */
	scanf("%d",&total);
	printf("\n Please enter number of order:\n");  /* 输入定单数 */
	scanf("%d",&n);
	printf("\n Please enter the orders:\n"); /* 输入各定单 */
	for(i=0;i

你可能感兴趣的:(语言)