91学习

陪伴你每一天!

时间都去哪里了

#include <stdio.h>



int main(){

int iDay=0;

int Monday=1,Tuesday=2,Wednesday=3,Thursday=4,Friday=5,Saturday=6,Sunday=7;


printf("enter a day of week to get course:\n");

scanf("%d",&iDay);



if(iDay>Friday){

if(iDay==Saturday){

printf("GO shopping with friends\n");

}

else{

printf("At home with families\n");

}

}

else{

if(iDay==Monday){

printf("Have a meeting in the company\n");

}

else {

printf("working with partner\n");

}

}

return 0;

}

加威信18790284560免费送POS机.jpg

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。