.Net基础篇_学习笔记_第三天_运算符
2021-07-04 18:05
阅读:567
标签:stat ati margin 学习 学习笔记 using arp eric linq
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace 第三天_C_Sharp运算符 { //练习,变成实现几天是几周零几天? class Program { static void Main(string[] args) { int days = 46; int weeks = days / 7; int day = days % 7; Console.WriteLine("{0}是{1}周零{2}天",days,weeks,day); //占位符的使用------与格式化输出字符区别?? Console.ReadKey(); } } }
.Net基础篇_学习笔记_第三天_运算符
标签:stat ati margin 学习 学习笔记 using arp eric linq
原文地址:http://www.cnblogs.com/NBOWeb/p/7109991.html
上一篇:Js 添加动态修改id
文章来自:搜素材网的编程语言模块,转载请注明文章出处。
文章标题:.Net基础篇_学习笔记_第三天_运算符
文章链接:http://soscw.com/index.php/essay/101832.html
文章标题:.Net基础篇_学习笔记_第三天_运算符
文章链接:http://soscw.com/index.php/essay/101832.html
评论
亲,登录后才可以留言!