C语言编程题,急,请大家帮忙啊,不会的也试试啊,急答:1.include"stdio.h"defineL100 defineU200 defineFACTOR5 voidmain(){inti;printf("%5d之间%5d不能被%5d蒸出的数如下:\n",L,U,FACTOR);for(i=L;i<=U;i++)if(i%FACTOR)printf("%-4d",i);} 2.include"stdio.h"voidmain(){ intx[12]={2,45,67,12,3,9,76,45,23,42,6,5}...
求c语言试题及答案!急啊!答:五. 编程题 (每题6分,共30分)1. 根据以下程序框架,编写子函数,实现交换两个整型变量x和y的值。#includevoid swap (int *, int *);void main (void){int x, y;scanf(“%d, %d”, &x, &y);swap( &x, &y);printf(“%d, %d”, x, y);}void swap( ){}2. 设某班人数36人,参加C语言...