当前位置:网站首页>Receive user input, height BMI, BMI detection small business entry case
Receive user input, height BMI, BMI detection small business entry case
2022-07-07 01:13:00 【Jinan medical applet champion】
Can interact , Receive user input
#region Modify the height index small business item
// Receive the height entered by the user , Weight information . Then do a process . Not like book equally , Dead program .must Interact , Business processing .
Console.WriteLine(" Please enter your height ?");
//double height11 = DemoShenGao;
string height1 = Console.ReadLine();// Receiving user problem0.1 use double type , Need to transform , How to switch !?
// 0.2 String conversion to double type . Conduct a business transformation process . That way , The processed variables change , Need to deal with , The converted variable , Carry out logical processing at the business level . by height11 The variable .
double height11 = double.Parse(height1);
Console.WriteLine(" Please enter your weight ?");
// Weight receives user input variables Definition
string weight1 = Console.ReadLine();
// transformation double The use of
double weight11 = double.Parse(weight1);
//int weight1 = 75;// Weight variables , The unit is kilogram , kg
//https://www.youlai.cn/video/article/1E87BAaaYF.html BMI Calculation principle reference
double ex边栏推荐
- The MySQL database in Alibaba cloud was attacked, and finally the data was found
- ARM裸板调试之JTAG原理
- [batch dos-cmd command - summary and summary] - string search, search, and filter commands (find, findstr), and the difference and discrimination between find and findstr
- mysql: error while loading shared libraries: libtinfo. so. 5: cannot open shared object file: No such
- Part 7: STM32 serial communication programming
- golang中的WaitGroup实现原理
- HMM notes
- pyflink的安装和测试
- Return to blowing marshland -- travel notes of zhailidong, founder of duanzhitang
- Oracle:CDB限制PDB资源实战
猜你喜欢
![[Niuke] b-complete square](/img/bd/0812b4fb1c4f6217ad5a0f3f3b8d5e.png)
[Niuke] b-complete square

Windows installation mysql8 (5 minutes)
![[batch dos-cmd command - summary and summary] - jump, cycle, condition commands (goto, errorlevel, if, for [read, segment, extract string]), CMD command error summary, CMD error](/img/a5/41d4cbc070d421093323dc189a05cf.png)
[batch dos-cmd command - summary and summary] - jump, cycle, condition commands (goto, errorlevel, if, for [read, segment, extract string]), CMD command error summary, CMD error

Dell笔记本周期性闪屏故障

随时随地查看远程试验数据与记录——IPEhub2与IPEmotion APP

《安富莱嵌入式周报》第272期:2022.06.27--2022.07.03

线段树(SegmentTree)

JTAG principle of arm bare board debugging

Periodic flash screen failure of Dell notebook

筑梦数字时代,城链科技战略峰会西安站顺利落幕
随机推荐
Telerik UI 2022 R2 SP1 Retail-Not Crack
Anfulai embedded weekly report no. 272: 2022.06.27--2022.07.03
[user defined type] structure, union, enumeration
Dell筆記本周期性閃屏故障
"Exquisite store manager" youth entrepreneurship incubation camp - the first phase of Shunde market has been successfully completed!
Supersocket 1.6 creates a simple socket server with message length in the header
from .cv2 import * ImportError: libGL.so.1: cannot open shared object file: No such file or direc
Tensorflow 1.14 specify GPU running settings
Openjudge noi 1.7 10: simple password
Asset security issues or constraints on the development of the encryption industry, risk control + compliance has become the key to breaking the platform
View remote test data and records anytime, anywhere -- ipehub2 and ipemotion app
阿里云中mysql数据库被攻击了,最终数据找回来了
HMM notes
[HFCTF2020]BabyUpload session解析引擎
Trace tool for MySQL further implementation plan
Part IV: STM32 interrupt control programming
A brief history of deep learning (I)
随时随地查看远程试验数据与记录——IPEhub2与IPEmotion APP
pytorch之数据类型tensor
线段树(SegmentTree)