当前位置:网站首页>Input and output real data
Input and output real data
2022-06-28 20:12:00 【Zaltana】
Write a program , The user enters a float Type data and a double Type data , Stored in variables , And output on the screen
Input :3.1234 4.5
Output :You entered:3.12 and 4.500
#include<bits/stdc++.h>
using namespace std;
int main( )
{
float a;
double b;
scanf("%f",&a);
scanf("%lf",&b);
printf("You entered:%0.2f and %0.3lf",a,b) ;
return 0;
}边栏推荐
- 2022年T电梯修理考试题库模拟考试平台操作
- 1002_ twenty million one hundred and eighty-one thousand and nineteen
- 严重性 代码 说明 项目 文件 行 禁止显示状态 错误 C1047 对象或库文件“.lib”是使用与其他对象(如“x64\Release\main.obj”)不同的
- 2022 tea master (intermediate) examination simulated 100 questions and simulated examination
- How to obtain the coordinates of the aircraft passing through both ends of the radar
- 秒杀系统设计
- 请允许当下国内ToB的「不完美」
- 员工薪资管理系统
- 实型数运算
- C # application interface development foundation - form control
猜你喜欢

ArrayList of collection

Are you still paying for your thesis? Come and join me

30讲 线性代数 第四讲 线性方程组

还在付费下论文吗?快来跟我一起白piao知网

R语言GLM广义线性模型:逻辑回归、泊松回归拟合小鼠临床试验数据(剂量和反应)示例和自测题

2022 welder (elementary) special operation certificate examination question bank and answers

电子科大(申恒涛团队)&京东AI(梅涛团队)提出用于视频问答的结构化双流注意网络,性能SOTA!优于基于双视频表示的方法!...

Markdown mermaid种草(1)_ mermaid简介

Echart: category text position adjustment of horizontal histogram

easypoi
随机推荐
30讲 线性代数 第四讲 线性方程组
2022 P cylinder filling test exercises and online simulation test
还在付费下论文吗?快来跟我一起白piao知网
2022焊工(初级)特种作业证考试题库及答案
集合之ArrayList
head、tail查看文件
How to obtain the coordinates of the aircraft passing through both ends of the radar
3. 整合 Listener
Past blue bridge cup test questions ants catch cold
圆球等的相关计算
【Go语言刷题篇】Go从0到入门5:Map综合复习、条件语句、循环语句练习
Windows 64 bit download install my SQL
Compression and decompression commands
Echart: category text position adjustment of horizontal histogram
100人成绩的平均
Xiaobai's e-commerce business is very important to choose the right mall system!
Tcwind mode setting
新形势下的SaaS销售升级|ToB大师课
odoo15 Module operations are not possible at this time, please try again later or contact your syste
5g NR MBS architecture introduction