C#2
来源:互联网 发布:psd软件免费下载 编辑:程序博客网 时间:2024/05/22 17:49
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication3{ class Program { static void Main(string[] args) { int i,a,b,c, n = 1000; for(i=100;i<n;i++) { a = i % 10; b = i / 100; c = i / 10 % 10; if (i == Math.Pow(a, 3) + Math.Pow(b, 3) + Math.Pow(c, 3)) { Console.WriteLine("{0}是水仙花数", i); } } } }}
0 0
- C# 2
- C#2
- C#面试题 C#试题 No.2
- C#基础知识整理:C#基础(2)
- C#笔记整理(2)C#语言基础
- c#学习 2/22 c#基础介绍
- C#进阶2
- C#编程规范 2
- C# 之多态性2
- c#学习读书笔记《2》
- C#实验[2]
- C# 学习笔记(2)
- C#书籍推荐2
- C#面试题目2
- C#組件編程(2)
- Effective C#笔记(2)
- Beginner with c# 2
- c#事件(2)
- JAVA语言基础
- C#
- 24.手势识别之UIPanGestureRecognizer
- webView用法总结
- Android 开发中eclipse 下 DDMS 视图中 sdcard 中文件导入的处理
- C#2
- Android背景Selector无效
- 8.结构体和共用体及枚举
- 通过Ajax动态生成的页面,解决复选框,选择一次不能再选择的问题
- QQ通信协议
- leetcode 98. Validate Binary Search Tree
- http协议content-encoding & transfer-encoding
- 第二周项目7-打印菱形
- nfs挂载错误wrong fs type, bad option, bad superblock