当前位置:网站首页>【码蹄集新手村 600 题】float 与 double 的格式说明符
【码蹄集新手村 600 题】float 与 double 的格式说明符
2022-07-17 18:23:00 【Sandm *】
题目链接:

思路讲解:
float 对应的是 %f
double 对应的是 %lf
参考代码:
#include<bits/stdc++.h>
using namespace std;
int main( )
{
float a = 0;
double b = 0;
scanf("%f %lf",&a,&b);//double 对应的是 %lf
printf("You entered:%.2f and %.3lf",a,b);
return 0;
}边栏推荐
- onvif协议相关:4.1.2 WS-Username token方式获取token
- Advanced C language -- character function and string function
- 关于TCP/IP协议漏洞的安全措施
- CMOS switch learning (I)
- Li Kou 198-213 looting Ⅰ, Ⅱ - Dynamic Planning
- [pyGame learning notes] 7 event
- mysql排序索引失效?
- Advanced C language -- custom type: structure enumeration Union
- [Yugong series] July 2022 go teaching course 012 forced type conversion
- C语言进阶——字符函数和字符串函数
猜你喜欢
![[JS reverse crawler] - Youdao translation JS reverse practice](/img/cd/a44445422e2911b005519b5ec30ec0.jpg)
[JS reverse crawler] - Youdao translation JS reverse practice

MOF customized material | NH (2) -uio66/rgo Graphene Oxide Nanocomposite | methylene blue loaded zif-90 nanoparticles

onvif协议相关:4.1.2 WS-Username token方式获取token

codeforce:G. Good Key, Bad Key【贪心】

onvif协议相关:3.1.2 Digest方式获取token列表

VMware imports ova/ovf virtual machine files

响应式织梦模板物流货运服务类网站
[email protected] )|Rhodamine 6G modified MOF material | catalase @zif composite | MOF"/>Lanthanide metal organic skeleton( [email protected] )|Rhodamine 6G modified MOF material | catalase @zif composite | MOF

Panasonic A6 servo driver external absolute value grating ruler full closed loop parameter setting

Responsive dream weaving template wine cellar website
随机推荐
onvif協議相關:4.1.3 WS-Username token方式獲取截圖url
perl 命令批量替换文件中的一些内容
[JS reverse crawler] - Youdao translation JS reverse practice
STL string查找子串
onvif协议相关:3.1.4 Digest方式获取流地址
onvif协议相关:4.1.1 WS-Username token方式获取WSUsernameTokenBean
Solutions to the failure of dedecms dream weaving to save the current column changes
实现自动记录日志
onvif协议相关:3.1.3 Digest方式获取截图url
Perl command batch replaces some contents in the file
Codeforce:a. doremy's IQ [reverse greed]
关于TCP/IP协议漏洞的安全措施
Ossimport migration path
torch. utils. data. Dataloader description
Attachment handling of SAP Fiori
onvif协议相关:3.1.2 Digest方式获取token列表
Li Kou 413 division of equal difference sequence dynamic programming
Wrong again, byte alignment and the use of pragma pack
torch.utils.data.DataLoader说明
Framework construction of business card management