| ÍøÕ¾Ê×Ò³ | Òµ½çÐÂÎÅ | С×é | Íþ¿Í | È˲Š| ÏÂÔØƵµÀ | ²©¿Í | ´úÂëÌù | ÔÚÏß±à³Ì | ±à³ÌÂÛ̳
»¶Ó­¼ÓÈëÎÒÃÇ£¬Ò»Í¬Çд輼Êõ
Óû§Ãû£º   
 
ÃÜ¡¡Â룺  
¹²ÓÐ 561 È˹Ø×¢¹ý±¾Ìû
±êÌ⣺Ϊʲô˵ tem û¶¨Òå°¡£¿°ïÎҸĸİɣ¿
Ö»¿´Â¥Ö÷ ¼ÓÈëÊÕ²Ø
mima219222
Rank: 1
À´¡¡×Ô£ººÓÄÏ
µÈ¡¡¼¶£ºÐÂÊÖÉÏ·
Ìû¡¡×Ó£º11
ר¼Ò·Ö£º0
×¢¡¡²á£º2014-4-4
½áÌûÂÊ£º0
ÊÕ²Ø
 ÎÊÌâµãÊý£º0 »Ø¸´´ÎÊý£º5 
Ϊʲô˵ tem û¶¨Òå°¡£¿°ïÎҸĸİɣ¿
#include <math.h>
#include <stdio.h>
main()
{  
   float f;
   double c;
   printf("ÇëÊäÈëf:  ");
   scanf("%f",&f);
   c=tem(f);
   printf("c=%f",c);
}
 double tem(float f)
{
  double c;
  c=(5/9.0)*(f-32);
  return (c);
}
ËÑË÷¸ü¶àÏà¹ØÖ÷ÌâµÄÌû×Ó: include¡¡double¡¡return¡¡
2014-04-24 20:05
kindboy18
Rank: 2
µÈ¡¡¼¶£ºÂÛ̳ÓÎÃñ
Íþ¡¡Íû£º1
Ìû¡¡×Ó£º28
ר¼Ò·Ö£º84
×¢¡¡²á£º2014-1-24
ÊÕ²Ø
µÃ·Ö:0 
temº¯ÊýûÓÐÉùÃ÷
2014-04-24 20:32
mima219222
Rank: 1
À´¡¡×Ô£ººÓÄÏ
µÈ¡¡¼¶£ºÐÂÊÖÉÏ·
Ìû¡¡×Ó£º11
ר¼Ò·Ö£º0
×¢¡¡²á£º2014-4-4
ÊÕ²Ø
µÃ·Ö:0 
»Ø¸´ 2 Â¥ kindboy18
ÎÒ²»»á£¬ÇëÎÊÔõôÉùÃ÷ѽ£¿

´ó¼ÒºÃ£¡ÎÒÊÇÐÂÀ´µÄ£¬ÎÒϲ»¶±à³Ì£¬½ñºó»¹Íû¸÷λǰ±²ÃǶà¶à¹ØÕÕ£¡Ð»Ð»£¡
2014-04-24 20:35
ÎÏÅ£ÔÚÐж¯
Rank: 1
À´¡¡×Ô£ºÖÜ¿Ú
µÈ¡¡¼¶£ºÐÂÊÖÉÏ·
Íþ¡¡Íû£º1
Ìû¡¡×Ó£º13
ר¼Ò·Ö£º6
×¢¡¡²á£º2014-4-20
ÊÕ²Ø
µÃ·Ö:0 
#include <math.h>
#include <stdio.h>
double tem(float f)
{
  double c;
  c=(5/9.0)*(f-32);
  return (c);
}

void   main()
{  
   float f;
   double c;
   printf("ÇëÊäÈëf:  ");
   scanf("%f",&f);
   c=tem(f);
   printf("c=%f",c);
}
 
ÔÚCÓïÑÔÖУ¬±àÒëÒ»¸öCÓïÑÔÔ´ÎļþÊÇ´ÓµÚÒ»ÐпªÊ¼É¨Ãèµ½×îºóµÄ£¬Äãµ÷ÓÃÒ»¸öº¯Êý£¬Ö®Ç°±ØÐ붨Òå»òÉêÃ÷¹ýÕâ¸öº¯Êý¡£ËùÒÔÄãÐèÒª°Ñtem·ÅÔÚmain£¨£©Ö®Ç°£¡Ö÷ÒªÊÇÄãûÓаѵ÷Óú¯ÊýµÄλÖ÷Ŷԣ¡²»Ï²ÎðÅ磡

ÏÖÔÚºÜÐÁ¿à£¬ÒòΪÄãÔÙ×ßÉÏÆ·£¡
2014-04-24 22:37
TonyDeng
Rank: 20Rank: 20Rank: 20Rank: 20Rank: 20
µÈ¡¡¼¶£º¹ó±ö
Íþ¡¡Íû£º304
Ìû¡¡×Ó£º25859
ר¼Ò·Ö£º48889
×¢¡¡²á£º2011-6-22
ÊÕ²Ø
µÃ·Ö:0 
·­Ò»·­•øÉÏ¡°º¯”µÔ­ÐÍ¡±µÄ²¿·Ö£¬¾ÍÖªµÀÔõ÷á•Ã÷º¯”µÁË¡£

ÊÚÈËÒÔÓ棬²»ÊÚÈËÒÔÓã¡£
2014-04-24 22:56
cquwt
Rank: 1
µÈ¡¡¼¶£ºÐÂÊÖÉÏ·
Ìû¡¡×Ó£º41
ר¼Ò·Ö£º2
×¢¡¡²á£º2013-12-24
ÊÕ²Ø
µÃ·Ö:0 
#include <math.h>
#include <stdio.h>
main()
{  double tem(float f)£»  //ÕâÊÇÉùÃ÷
   float f;
   double c;
   printf("ÇëÊäÈëf:  ");
   scanf("%f",&f);
   c=tem(f);
   printf("c=%f\n",c); \\½áβ×îºÃ¼Ó»Ø³µ£¬ºÃ¿´
}
double tem(float f)
{
  double c;
  c=(5/9.0)*(f-32);
  return (c);
}
2014-04-24 23:17
¿ìËٻظ´£ºÎªÊ²Ã´Ëµ tem û¶¨Òå°¡£¿°ïÎҸĸİɣ¿
Êý¾Ý¼ÓÔØÖÐ...
 
¡¡¡¡¡¡



¹ØÓÚÎÒÃÇ | ¹ã¸æºÏ×÷ | ±à³ÌÖйú | Çå³ýCookies | TOP | ÊÖ»ú°æ

±à³ÌÖйú °æȨËùÓУ¬²¢±£ÁôËùÓÐȨÀû¡£
Powered by Discuz, Processed in 0.016015 second(s), 9 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved