ChinaUnix.net
相关文章推荐:

等价类划分法为三角形问题划分等价类

请大家帮忙我编一个空好吗?谢谢!

by yhw0715 - C/C++ - 2005-01-12 11:21:48 阅读(868) 回复(4)

相关讨论

输入边长a,b,c,输出的面积s。求面积的公式:s=sqrt(1*(1-a)*(1-b)*(1-c)),其中1=(a+b+c)/2 方法一: #include; #include; void main ( ) { cout<< “input three data:\n”; int a,b,c,s; cin>;>;a>;>;b>;>;c; if(a<=0||b<=0||c<=0) { cout<< “Negative argament!\n”; exit (-1) } if (a+b<=c||b+c<=a||c+a<=b) { cout<< “Negative argament!\n”; exit (-1); } s=(a+b+c)/...

by chinaunix_li - C/C++ - 2004-05-27 09:52:01 阅读(4859) 回复(8)

要求如下: 1:输入一个字符 2:用这个字符打印出一个等边出来.每个边20个点(用该字符) 我没头绪啊...大家帮忙..谢!!

by jarson - Python - 2006-08-08 18:36:33 阅读(1936) 回复(2)

public class YangHui{ public static void main(String args[]){ final int ROW=5; int a[][]=new int[ROW+1][]; for(int i=0;i } 运行结果: 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1 1 5 10 10 5 1 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/15092/showart_118683.html

by 花城浪子 - Java文档中心 - 2006-05-26 20:19:46 阅读(368) 回复(0)
by ohai - C/C++ - 2003-08-22 19:19:14 阅读(2601) 回复(17)

命令序列: grep main a.c b.c c.c>grepout & wc -l等价,那位能说明一下

by linuxer_rh - Shell - 2003-12-11 03:32:01 阅读(561) 回复(9)

这种划分的方法是满足什么需求的?

by ffmm - 网络技术 - 2005-11-09 20:06:28 阅读(859) 回复(2)