#include<stdio.h> #include<conio.h> static char *WEEK[7] = {"Sun.", "Mon.", &quo

Python015

#include<stdio.h> #include<conio.h> static char *WEEK[7] = {"Sun.", "Mon.", &quo,第1张

int main()

{

char *week[10] = {

"mon",

"tue",

"ted",

"thu",

"fri",

"sat",

"sun"

}

double tem[7] = {

12.3,

5.4,

-10.5,

9.6,

7,

-5,

8

}

int i

double *max_tem, *min_tem

char *max_day, *min_day

max_tem = min_tem = tem

max_day = min_day = week[0]

for (i = 1i <7++i) {

if (*(tem+i) >*max_tem) {

max_tem = &tem[i]

max_day = week[i]

}

if (*(tem+i) <*min_tem) {

min_tem = &tem[i]

min_day = week[i]

}

}

printf("the coldest day is %s, the temperature is %.2lf\n",min_day,*min_tem)

printf("the warmest day is %s, the temperature is %.2lf\n",max_day,*max_tem)

return 0

}

基础课程:高等数学、革命史、大学物理、概率论、计算机导论、大学英语、线性代数、马克思主义原理、大学生素养、法律基础、金工实习等。

专业课程:编译原理、自动化控制原理、计算机控制原理、C语言、Visual basic语言、图形学、计算方法、操作系统、实习课、计算机专业英语、数据结构、单片机、计算机接口等

课外:辩论课程。

还是要看方向。

软件方向的专业课程大概有离散数学、数据结构、操作系统、计算机组成和原理、图形学、计算机网络、数据库、编译原理、汇编语言、两三门语言。VB、Pascal应该是不会学了。

硬件方向大概有信号与系统、数字电路、硬件编程等。