• 2022-05-29 问题

    描述一个正整数n能同时被3,5和7同时整除的正确表达式为 A: n//3==0 and n//5==0 and n//7==0 B: n//3==0 or n//5==0 or n//7==0 C: n%3==0 and n%5==0 and n%7==0 D: n%3==0 or n%5==0 or n%7==0

    描述一个正整数n能同时被3,5和7同时整除的正确表达式为 A: n//3==0 and n//5==0 and n//7==0 B: n//3==0 or n//5==0 or n//7==0 C: n%3==0 and n%5==0 and n%7==0 D: n%3==0 or n%5==0 or n%7==0

  • 2022-05-29 问题

    下列哪个表达式表示n能被3整除同时也能被7整除()。 A: n%3==0&&n%7==0 B: n%3==0||n%7==0 C: n%21==0 D: n%3!=0&&n%7!=0

    下列哪个表达式表示n能被3整除同时也能被7整除()。 A: n%3==0&&n%7==0 B: n%3==0||n%7==0 C: n%21==0 D: n%3!=0&&n%7!=0

  • 2022-06-19 问题

    优质汽车清洁香波的PH值应当为()。 A: 55~65 B: 65~70 C: 70~75 D: 75~80

    优质汽车清洁香波的PH值应当为()。 A: 55~65 B: 65~70 C: 70~75 D: 75~80

  • 2022-05-30 问题

    下列程序输出的结果是( )。 int main(){ int a=7,b=5; printf("%d\n",b=b%a); } A: 2 B: 5 C: 7 D: 0

    下列程序输出的结果是( )。 int main(){ int a=7,b=5; printf("%d\n",b=b%a); } A: 2 B: 5 C: 7 D: 0

  • 2021-04-14 问题

    【单选题】Which of the following matrices does not have the same determinant of matrix B: [1, 3, 0, 2; -2, -5, 7, 4; 3, 5, 2, 1; -1, 0, -9,-5] A. [1, 3, 0, 2; -2, -5, 7, 4; 0, 0, 0, 0; -1, 0, -9, -5] B. [1, 3, 0, 2; -2, -5, 7, 4; 1, 0, 9, 5; -1, 0, -9, -5] C. [1, 3, 0, 2; -2, -5, 7, 4; 3, 5, 2, 1; -3, -5, -2, -1] D. [1, 3, 0, 2; -2, -5, 7, 4; 0, 0, 0, 1; -1, 0, -9, -5]

    【单选题】Which of the following matrices does not have the same determinant of matrix B: [1, 3, 0, 2; -2, -5, 7, 4; 3, 5, 2, 1; -1, 0, -9,-5] A. [1, 3, 0, 2; -2, -5, 7, 4; 0, 0, 0, 0; -1, 0, -9, -5] B. [1, 3, 0, 2; -2, -5, 7, 4; 1, 0, 9, 5; -1, 0, -9, -5] C. [1, 3, 0, 2; -2, -5, 7, 4; 3, 5, 2, 1; -3, -5, -2, -1] D. [1, 3, 0, 2; -2, -5, 7, 4; 0, 0, 0, 1; -1, 0, -9, -5]

  • 2021-04-14 问题

    二维字符数组:将5个字符串从小到大排序后输出。请填空。 #include #include int main(void ) { int i; char color[ ][7]= {"red", "blue", "yellow", "green", "black"}; void fsort(char a[5][7], int n); fsort(color, 5); for(i = 0; i < 5; i++) printf("%s ", color[i]); return 0; } void fsort(char a[5][7], int n) { int i, j; char temp[7]; for(i = 1; i < n; i++) for(j = 0; j < ______; j++) if(strcmp(a[j], a[j+1]) > 0){ strcpy(temp,a[j]); ____________ ; strcpy(a[j+1],temp); } }

    二维字符数组:将5个字符串从小到大排序后输出。请填空。 #include #include int main(void ) { int i; char color[ ][7]= {"red", "blue", "yellow", "green", "black"}; void fsort(char a[5][7], int n); fsort(color, 5); for(i = 0; i < 5; i++) printf("%s ", color[i]); return 0; } void fsort(char a[5][7], int n) { int i, j; char temp[7]; for(i = 1; i < n; i++) for(j = 0; j < ______; j++) if(strcmp(a[j], a[j+1]) > 0){ strcpy(temp,a[j]); ____________ ; strcpy(a[j+1],temp); } }

  • 2022-06-18 问题

    在VB中,要表示条件x是5或7的倍数应采用的表达式为_______。 A: x\5 or x\7 B: x mod 5=0 and x mod 7=0 C: x mod 5=0 or x mod 7=0 D: x\5 and x\7

    在VB中,要表示条件x是5或7的倍数应采用的表达式为_______。 A: x\5 or x\7 B: x mod 5=0 and x mod 7=0 C: x mod 5=0 or x mod 7=0 D: x\5 and x\7

  • 2021-04-14 问题

    有以下程序 void f(int n, int *r) { int rl=0; if (n%3==0) r1=n/3; else if(n%5==0) r1=n/5; else f(--n, &r1); *r=r1; } main( ) { int m=7, r; f(m,&r); printf("%d", r); } 程序运行后的输出结果是( ).

    有以下程序 void f(int n, int *r) { int rl=0; if (n%3==0) r1=n/3; else if(n%5==0) r1=n/5; else f(--n, &r1); *r=r1; } main( ) { int m=7, r; f(m,&r); printf("%d", r); } 程序运行后的输出结果是( ).

  • 2022-05-30 问题

    下列程序的输出结果是main(){ int a=7,b=5; printf("%d\n",b/a); } A: 0 B: 5 C: 1 D: 0.7

    下列程序的输出结果是main(){ int a=7,b=5; printf("%d\n",b/a); } A: 0 B: 5 C: 1 D: 0.7

  • 2022-06-03 问题

    若有定义:#defineN3+2,则表达式N*2的值为() A: 5 B: 7 C: 10 D: 0

    若有定义:#defineN3+2,则表达式N*2的值为() A: 5 B: 7 C: 10 D: 0

  • 1 2 3 4 5 6 7 8 9 10