当前位置:网站首页>Day (0~6) represents the starting position of the first day of each month, stop represents the number of days of each month, and there are two blank spaces between each day. Input different days and s
Day (0~6) represents the starting position of the first day of each month, stop represents the number of days of each month, and there are two blank spaces between each day. Input different days and s
2022-07-24 07:01:00 【Mo xiaodai ^o^】
#include<iostream>
#include<iomanip>
using namespace std;
int main()
{
int day, stop;
int date = 1;
cout << " Enter the location of the first day of each month :";
cin >> day;
cout << " Enter the number of days per month :";
cin >> stop;
cout << " Sun Mon Tue Wed Thu Fri Sat\n";
if (day != 0)
cout << setw(day * 5) << " ";
while (date <= stop)
{
cout << setw(5) << date;
date++;
if ((date + day) % 7 == 1)
cout << "\n";
}
return 0;
}边栏推荐
- Don't compare with anyone, just be yourself
- Record the pits encountered in the deserialization of phpserializer tool class
- nodejs开启多进程并实现进程间通信
- mysql自动生成创建时间和更新时间
- UE4/5 无法打开文件“xxx.generated.h”(Cannot open file xxx.generated.h)的解决方法总结
- Redis分布式缓存学习笔记
- 10分钟就能写出来的——25~30K的国外企业招聘面试考题,这不是轻轻松松吗~
- HashSet to array
- [lvgl (4)] event and event bubble of the object
- Esp32 ultra detailed learning record: NTP synchronization time
猜你喜欢

Redis.conf详解
![(note sorting is not completed) [graph theory: find the shortest path of single source]](/img/58/e61aea3c4d0a33d3615144763160f7.png)
(note sorting is not completed) [graph theory: find the shortest path of single source]

Redis特殊数据类型-HyperLogLog

数据分析思维之从整体出发分析零售行业——全方位多方面细节分析
![[lvgl (important)] style attribute API function and its parameters](/img/55/f25a510cf04caff7ee15e72360c3a1.png)
[lvgl (important)] style attribute API function and its parameters

创建WPF项目
![[lvgl layout] flexible layout](/img/7b/db932e25b13a0b494e7920075cf1e2.png)
[lvgl layout] flexible layout

Sealos 打包部署 KubeSphere 容器平台

三级分类/菜单的查询——树形结构

Introduction to pyqt5 - student management system
随机推荐
[lvgl (6)] display Chinese settings and make Chinese font
String question
【学习笔记】url输入到页面展现中发生了什么?
不运动也能增肌???打一针冬眠黑熊的血清就行
永远不要迷失自我!
Can you increase muscle without exercise??? Just get an injection of hibernating black bear serum
Penetration learning - SQL injection - shooting range - installation and bypass experiment of safety dog (it will be updated later)
HashSet转数组
[lvgl] [stage summary 1]
不去和谁比较,只需做好自己
[lvgl (4)] event and event bubble of the object
[lvgl (2)]
xxl执行节点错误日志刷屏
Random forest, lgbm parameter adjustment based on Bayesian Optimization
[USB voltmeter and ammeter] Based on stm32f103c8t6 for Arduino
postgresql 日期处理函数用法
[lvgl (3)]
Redis basic type - hash
JSONObject按照key的A——Z顺序排序
Identification of Chinese medicinal materials