当前位置:网站首页>Real variable instance
Real variable instance
2022-06-25 14:46:00 【m0_ fifty-nine million nine hundred and forty-nine thousand fou】
1、1.0/3*3 How much ?
#include <stdio.h>
void main()
{
float a, b, c,d;
a = 1.0;
b = 3;
c = 3;
d = a / b * c;
printf("a / b * c=%f\n", d);
}Execution results :a / b * c=1.000000
2、3/2= How many? ?
#include <stdio.h>
void main()
{
float a, b, c;
a = 3;
b = 2;
c = a / b;
printf("a / b =%f\n", c);
}Execution results :a / b =1.500000
3、1/3*3 How much ?
#include <stdio.h>
void main()
{
float a, b, c, d;
a = 1;
b = 3;
c = 3;
d = a / b * c;
printf("a / b * c=%f\n", d);
}Execution results :a / b * c=1.000000
边栏推荐
- [deep learning] multi task learning of multiple datasets data sets missing labels
- [deep learning] multi label learning
- It's not easy to understand the data consistency of the microservice architecture for the first time after six years as a programmer
- Share the code technology points and software usage of socket multi client communication
- Complete and detailed compilation of experimental reports
- What is the difference between escape, encodeuri and encodeuricomponent?
- Ideal L9 in the eyes of the post-90s: the simplest product philosophy, creating the most popular products
- Golang project dependency management tool go vendor, go Mod
- Dmsetup command
- How to view the Chrome browser plug-in location
猜你喜欢

两种方法实现pycharm中代码回滚到指定版本(附带截图展示)

使用sphinx根据py源文件自动生成API文档

从0到1完全掌握 XSS

Report on Hezhou air32f103cbt6 development board

【Try to Hack】vulhub靶场搭建

How to crop GIF dynamic graph? Take this picture online clipping tool

How to view the Chrome browser plug-in location

程序员为什么要软一点?

ffmpeg protocol concat 进行ts流合并视频的时间戳计算及其音画同步方式一点浅析

Add the resources directory under test in idea
随机推荐
About the problem of kicad stuck in win10 version, version 6 x
2022年广东高考分数线出炉,一个几家欢喜几家愁
[world history] Episode 1: people in the Stone Age
dmsetup命令
【世界历史】第一集——石器时代的人们
Flexible layout (display:flex;) Attribute details
Master XSS completely from 0 to 1
PubSub JS library realizes "cross component" data transfer
Page 112 machine learning - review of fundamentals of mathematics pptx
网上股票开户安不安全?有谁知道呢
Garbage collection mechanism
Partager les points techniques de code et l'utilisation de logiciels pour la communication Multi - clients socket que vous utilisez habituellement
JS floating point multiplication and division method can not accurately calculate the problem
合宙Air32F103CBT6开发板上手报告
oracle数据库常用的函数总结
The best time to buy and sell stocks
TSDB在民机行业中的应用
Sigmoid function sigmoid derivation
Pourquoi les programmeurs devraient - ils être plus doux?
程序員為什麼要軟一點?