当前位置:网站首页>C language output teaching calendar
C language output teaching calendar
2022-07-27 21:59:00 【web18224617243】
Enter the semester in the format , Opening time , The total number of weeks can get the curriculum , End with a carriage return .
eg.
semester :2021-2022_2
Opening time :2021/11/25
Total weeks :20
Output results

#include<stdio.h>
#include<windows.h>
int Weekdayofyear(int year);
int Isprime(int year);
int Days(int year, int mouth);
int Weekday(int year, int mouth, int day);
int Max(int year,int mouth);
int main() {
char title1[] = " xxxxxx University calendar ";
char title2[] = "0000-0000 The school year 0 semester ";
char tab[60] = " Zhou One Two 3、 ... and Four 5、 ... and 6、 ... and Japan ";
char term3;
char calender[100][8];
int tempday, tempmouth,flag = 1,b,c,d,e,f,g,h,i,j, cnt = 1, week,term1, term2,year, mouth, day;
printf(" semester :");
scanf("%d-%d_%c"边栏推荐
- Software test interview question: does software acceptance test include formal acceptance test, alpha test and beta test?
- 面向3nm及以下工艺,ASML新一代EUV光刻机曝光
- 一口气学完 Redis 集群方案
- 2021-11-05 understanding of class variables and class methods
- Shengyang technology officially launched the remote voiceprint health return visit service system!
- [numerical analysis exercise] numerical integration (complex trapezoid, complex Simpson, Romberg integral) C with STL implementation
- [question 24] logic closed loop (Beijing Institute of Technology / Beijing University of Technology / programming methods and practice / primary school)
- 二维数组的基本用法
- 聊聊 MySQL 事务二阶段提交
- 软件测试面试题:在windows下保存一个文本文件时会弹出保存对话框,如果为文件名建立测试用例,等价类应该怎样划分?
猜你喜欢

B站崩了,如果我们是那晚负责修复的开发人员

It seems to be a bug of thread pool, but I think the source code design is unreasonable.

LM NAV: robot navigation method based on large models of language, vision and behavior

How to deal with high concurrency deadlock?

8000 word explanation of OBSA principle and application practice

Encapsulate an array into a class

异常-Exception

Exception -exception
Excalidraw:很好用的在线、免费「手绘」虚拟白板工具

MySQL execution process and order
随机推荐
Exception -exception
Software test interview question: suppose there is a text box that requires the input of a 10 character postal code, how should the text box be divided into equivalent classes?
Samsung's most advanced EUV production line has been put into operation: the 7Nm capacity this year will be three times that of last year
Understanding of L1 regularization and L2 regularization [easy to understand]
QT take out the input box string, lineedit
怎么还有人问 MySQL 是如何归档数据的呢?
Excalidraw:很好用的在线、免费「手绘」虚拟白板工具
Open source data quality solution -- Apache Griffin primer
美司法部增加针对华为的指控,包括窃取商业秘密等16项新罪名
Software test interview question: please say who is the best person to complete these tests, and what is the test?
Technology Management - we must focus on the big and let go of the small
Member method and its parameter transmission mechanism
软件测试面试题:单元测试、集成测试、系统测试的侧重点是什么?
深入理解递归的方法调用(含实例迷宫问题、汉诺塔、猴子吃桃、斐波拉契、阶乘))
Yyds dry goods inventory # solve the real problem of famous enterprises: cycle number comparison
LInkedList底层源码
First knowledge of esp8266 (I) -- access point and wireless terminal mode
It seems to be a bug of thread pool, but I think the source code design is unreasonable.
Up to 7.5gbps! The world's first 5nm 5g baseband snapdragon X60 release: support the aggregation of all major bands!
看起来是线程池的BUG,但是我认为是源码设计不合理。