首页 > 其他分享 >11.5.3

11.5.3

时间:2022-11-05 21:02:25浏览次数:61  
标签:printf return int 11.5 d% hs double

#include<stdio.h>

double hs(int x);

int main()

{

int a,s,d;

scanf("%d%d%d",&a,&s,&d);

int i;

for(i=a;i<=s;i+=d)

{hs(i);

}

 

 

 

return 0;

}

double hs(int x)

{

printf("%.1f\n",1.0*5/9*(x-32));

 

 

 

return 0;

}

标签:printf,return,int,11.5,d%,hs,double
From: https://blog.51cto.com/u_15758636/5826101

相关文章

  • 11.5.4
    #include<stdio.h>#include<math.h>intan(intx,inty);intmain(){ inta,n; scanf("%d%d",&a,&n);  an(a,n);  return0;}intan(intx,inty){ inti,......
  • ios AppStore 上架流程(Xcode11.5)
     AppStore上架流程前提已经注册苹果开发者账号登录开发者官网https://developer.apple.com/点击account进行登录 点击Certific......
  • ios AppStore 上架流程(Xcode11.5)
    AppStore上架流程前提已经注册苹果开发者账号登录开发者官网​​https://developer.apple.com/​​点击account进行登录点击Certificates,Identifiers&Profiles1.首先进......
  • 11.1 LAMP架构介绍 11.2 MySQL、MariaDB介绍 11.3/11.4/11.5 MySQL安装
     11.1LAMP架构介绍LAMP是Linux+Apache(httpd)+MySQL+PHP的简称•Linux:操作系统•Apache(httpd):WEB服务器软件,提供WEB服务•MySQL:关系型数据库用于存储数据(字符串)•......
  • 11.5面向对象的三大特性
    #面向对象三大特性:封装继承多态#广义得封装:#把方法和变量都封装在类中#比如人狗大战#规范创建对象#创建所有人得属性名都能一致#......