谁能帮我解决这道C语言题#include#include#includemain(){int xz,a,b,i,da,c,n;char zl='y';srand(time(0));n=0;while(zl=='y'||zl=='Y'){printf(" 菜单 \n");printf("1.10加法题\n");printf("2.10减法题\n");printf("3.10乘法题\n");printf("4.1
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/16 18:37:46
谁能帮我解决这道C语言题#include#include#includemain(){int xz,a,b,i,da,c,n;char zl='y';srand(time(0));n=0;while(zl=='y'||zl=='Y'){printf(" 菜单 \n");printf("1.10加法题\n");printf("2.10减法题\n");printf("3.10乘法题\n");printf("4.1
谁能帮我解决这道C语言题
#include
#include
#include
main()
{
int xz,a,b,i,da,c,n;
char zl='y';
srand(time(0));
n=0;
while(zl=='y'||zl=='Y')
{
printf(" 菜单 \n");
printf("1.10加法题\n");
printf("2.10减法题\n");
printf("3.10乘法题\n");
printf("4.10除法题\n");
printf("5.退出\n");
printf("请选择相应的选项\n");
scanf("%d",&xz);
n=0;
switch(xz)
{
case 1:
for(i=1;i
谁能帮我解决这道C语言题#include#include#includemain(){int xz,a,b,i,da,c,n;char zl='y';srand(time(0));n=0;while(zl=='y'||zl=='Y'){printf(" 菜单 \n");printf("1.10加法题\n");printf("2.10减法题\n");printf("3.10乘法题\n");printf("4.1
给你稍改了下,如有不明,可留言
#include
#include
#include
main()
{
int i,num=0;
int a,b,c;
float d,d_answer;
int answer;
int choose;
char ch='Y';
srand(time(0));
while(ch=='y'||ch=='Y')
{
printf(" 菜单 \n");
printf("1.10加法题\n");
printf("2.10减法题\n");
printf("3.10乘法题\n");
printf("4.10除法题\n");
printf("5.退出\n");
printf("请选择相应的选项\n");
scanf("%d",&choose);
switch(choose)
{
case 1:
for(i=1;i