当前位置:网站首页>Align left and right!
Align left and right!
2022-07-04 15:04:00 【Zaltana】
Output 3.1415926,22.3456, Width is 14, Accuracy of 6, Align left and right respectively .
Format
Input format : nothing
Output format : Output is real , The blank space to separate . The output of each number occupies one line .
Examples
Input : nothing
Output :3.141593 3.141593
22.345600 22.345600
#include<bits/stdc++.h>
using namespace std;
int main( )
{
printf("%-14.6f %14.6f\n",3.1415926, 3.1415926);
printf("%-14.6f %14.6f",22.3456, 22.3456);
return 0;
}
边栏推荐
- LVGL 8.2 List
- 内存管理总结
- 深度学习 神经网络的优化方法
- Free, easy-to-use, powerful lightweight note taking software evaluation: drafts, apple memo, flomo, keep, flowus, agenda, sidenote, workflow
- C language personal address book management system
- Is BigDecimal safe to calculate the amount? Look at these five pits~~
- 对话龙智高级咨询顾问、Atlassian认证专家叶燕秀:Atlassian产品进入后Server时代,中国用户应当何去何从?
- LVGL 8.2 keyboard
- Kubernets pod exists finalizers are always in terminating state
- EventBridge 在 SaaS 企业集成领域的探索与实践
猜你喜欢
Why do domestic mobile phone users choose iPhone when changing a mobile phone?
大神详解开源 BUFF 增益攻略丨直播
Ffmpeg Visual Studio development (IV): audio decoding
Combined with case: the usage of the lowest API (processfunction) in Flink framework
MP3是如何诞生的?
LeetCode 1200 最小絕對差[排序] HERODING的LeetCode之路
开源人张亮的 17 年成长路线,热爱才能坚持
Redis 解决事务冲突之乐观锁和悲观锁
Introduction to modern control theory + understanding
Luo Gu - some interesting questions 2
随机推荐
Free, easy-to-use, powerful lightweight note taking software evaluation: drafts, apple memo, flomo, keep, flowus, agenda, sidenote, workflow
Luo Gu - some interesting questions 2
《opencv学习笔记》-- 线性滤波:方框滤波、均值滤波、高斯滤波
go-zero微服务实战系列(九、极致优化秒杀性能)
【学习笔记】拟阵
C language book rental management system
Five minutes per day machine learning: use gradient descent to complete the fitting of multi feature linear regression model
LVGL 8.2 LED
03-存储系统
浮点数如何与0进行比较?
C language personal address book management system
信号处理之一阶RC低通滤波器宏指令实现(繁易触摸屏)
Why do domestic mobile phone users choose iPhone when changing a mobile phone?
%f格式符
Partial modification - progressive development
Go zero micro service practical series (IX. ultimate optimization of seckill performance)
LeetCode 1200 最小絕對差[排序] HERODING的LeetCode之路
毕业季-个人总结
5G电视难成竞争优势,视频资源成中国广电最后武器
现代控制理论入门+理解