代码搜索:Switch

找到约 10,000 项符合「Switch」的源代码

代码结果 10,000
www.eeworm.com/read/397435/8050698

txt 水果收银机.txt

水果收银机 编写收银机程序:为某个水果店售货员算账,苹果每斤2.8元,香蕉每斤1.7元,芒果每斤6.5元。要求输入各种水果的重量,打印应付的钱数,再输入顾客付款数,打印应找的钱数。 分析:因为有不同种类的水果,需要用<mark>switch</mark>语句进行选择;而且这个水果店收银机一直是开着的,直到关门才结束,需要用循环语句保证程序一直运行。程序包括while,if-else和<mark>switch</mark>语句的嵌套。 ...
www.eeworm.com/read/397413/8051945

cpp main.cpp

#include "1.h" void menu() {void check(); void in(); void in_sto(); void input(); void out(); void store(); void stu_buy(); void unpass(); void wait(); void dis_in(); void help
www.eeworm.com/read/296999/8066512

m ms_orthogonalspreading_initialization.m

% ms_orthogonalspreading_initialization; switch xchanneltype case 1 xwalshcodelength=16; xwalshcodeindex=4; case 2 xwalshcodelength=2; xwalshcodeindex=1;
www.eeworm.com/read/296999/8066516

m ms_fqi_initialization.m

% ms_fqi_initialization; xpaddedframelength=xframelength; switch xrc case 3 switch xframelength case {16,40} xgenpoly=[6 2 1 0]; case 80
www.eeworm.com/read/296909/8072741

m subsref.m

function B = subsref(A,S) % GPCONSTRAINT/SUBSREF method % % one subscripting level if length(S) == 1 switch S.type case '.' switch S.subs case 'lhs' B = A.lhs; case 'rhs'
www.eeworm.com/read/397001/8072781

h curve.h

#include double getvolume(double l,int i) { double v; switch(i) { case 0: v=122676349.715378-215914.232575954*l+95.2853295840258*pow(l,2);//返回小湾电站对应库容 break; case 1: v
www.eeworm.com/read/296909/8072962

m subsref.m

function B = subsref(A,S) % GPVAR/SUBSREF method for GP variable objects. % switch length(S) % number of subscripting levels % one subscripting level case 1 switch S.type case '.'
www.eeworm.com/read/296805/8076593

c age2.c

/* age2.c: Uses a switch */ #include int main() { int age; char really; // note position puts("Enter your age:"); scanf("%d", &age); switch(age/20) {
www.eeworm.com/read/296805/8076607

htm age2.htm

/* age2.c: Uses a switch */ #include <stdio.h> int main() { int age; char really; // note position puts("Enter your age:"); scanf("%d", &a