当前位置:网站首页>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"边栏推荐
- Lvs+kept highly available cluster
- @Detailed introduction of requestparam annotation
- Log4j vulnerability is still widespread and continues to cause impact
- Software test interview questions: the steps to write test cases by drawing cause and effect diagrams are___ And transforming the cause and effect diagram into a state diagram in five steps. What are
- 深入理解递归的方法调用(含实例迷宫问题、汉诺塔、猴子吃桃、斐波拉契、阶乘))
- Yyds dry goods inventory # solve the real problem of famous enterprises: cycle number comparison
- [question 23] Sudoku game with rotation | DFS (Beijing Institute of Technology / Beijing Institute of Technology / programming methods and practice / primary school)
- Oppo core making plan officially announced: the first chip or oppo M1
- IDEA常用快捷键及设置方法
- 纳微半导体65W 氮化镓(GaN)方案获小米10 Pro充电器采用
猜你喜欢

Openai issued a document to introduce the latest application of Dall · E 2: fully enter the field of artistic creation and design

Encapsulate an array into a class

Pytoch distributed training

学完4种 Redis 集群方案要多久?我一口气给你说完

为什么要使用MQ消息中间件?这几个问题必须拿下

怎么还有人问 MySQL 是如何归档数据的呢?

LVS+Keepalived高可用群集

Can JVM tuning be done with single core CPU and 1G memory?

Talk about MySQL transaction two-phase commit

Microsoft store can't download apps, vs2019 can't download plug-ins solution
随机推荐
Who is the sanctity of the six Chinese enterprises newly sanctioned by the United States?
美国新宣布制裁的6家中国企业到底是何方神圣?
Common shortcut keys and setting methods of idea
2019Q4内存厂商营收排名:三星下滑5%,仅SK海力士、美光维持增长
软件测试面试题:软件验收测试包括正式验收测试、alpha测试、beta测试三种测试?
Search, insert and delete of hash table
Daily news on July 15, 2022: meta announced the launch of make-a-scene: AI image generation can be controlled based on text and sketches
Station B collapsed. What did the developer responsible for the repair do that night?
学完4种 Redis 集群方案要多久?我一口气给你说完
声扬科技正式上线闻声远程声纹健康回访服务系统!
How to deal with high concurrency deadlock?
Monitor the running of server jar and restart script
软件测试面试题:软件测试项目从什么时候开始?为什么?
Excalidraw: an easy-to-use online, free "hand drawn" virtual whiteboard tool
Software testing interview question: what is the focus of unit testing, integration testing, and system testing?
Simple use of enum
腾讯云[HiFlow】| 自动化 -------HiFlow:还在复制粘贴?
UNITY--读取Excel
Commercial delay of self-developed 5g chip? Apple iPhone will adopt Qualcomm 5g chip in the next four years
Yyds dry goods inventory # solve the real problem of famous enterprises: cycle number comparison