C语言求平方根源程序.docxVIP

  • 36
  • 0
  • 约3.52千字
  • 约 8页
  • 2020-05-11 发布于四川
  • 举报
编程序求10000之内的完全平方数的平方根 #include stdio.h main() { int a,b,d,e,f; int A; int i,j; printf(\n\n***** 先把100以内的自然数打出来*****\n\n); /*在Tc2.0下要注意把汉字改为英文 */ for(i=0;i100;i++) { j=i*i; printf( %d*%d=%d ,i,i,j); if(i%5==0) printf(\n); } printf(\nPlsease enter a number:); scanf(%d,A); while(A!=0) /* A是1到9

文档评论(0)

1亿VIP精品文档

相关文档