软件工程和项目管理中的CM的全称是什么

软件工程和项目管理中的CM的全称是什么,第1张

configuration management 配置管理

配置管理(Configuration Management,CM)是通过技术或行政手段对软件产品及其开发过程和生命周期进行控制、规范的一系列措施。配置管理的目标禅拍是记录软件产品的演化过程,确保皮袭皮软件开发者在软件生命周期中各个阶段都能得到精确的产品配置。燃差

#include<iostream>

using namespace std

const double inch=0.39

const double foot=0.03

int main()

{

cout.setf(ios_base::fixed,ios_base::floatfield)

int cm

double myinch,myfoot

cout<<"输入你的身高(CM)___\\b\\b\\b"

cin>>cm

myinch=inch*cm

myfoot=foot*cm

cout<<"你的身高是"<<cm<<"cm,"<<myinch<肆槐链<"\

inch,"<<myfoot<<"foot"<<endl

return 0

}

/*程序的顺序写错了,在执行

myinch=inch*cm

myfoot=foot*cm

如果你没有对cm赋裂孙予初值那么编译器明族就会随机的给他一个初值来完成此语句的执行。那么就会得不到你想要的结果。你的主函数是有返回值的,最好给他一个返回值,虽然不加也可以,但是当你写大程序的时候,警告的东西好、就会多起来,处理起来不好,加个返回语句,程序看起来比较整齐,这也是养成良好编程习惯的一种哦。*/

//顺序不对

#include<stdio.h>

int main()

{

char sex,sports,diet

float faheight,moheight,height

printf("faheight=") //输入的单位前扰雹慧帆以公斤计算

scanf("%f", &faheight) //输入的单位以公斤计算

printf("moheight=")

scanf("%f", &moheight)

printf("李缺Male or Famale?Please input 'M' or 'F':")

scanf("%1s", &sex)

switch(sex)

{

case'F':height=(faheight+moheight)*0.54break

case'M':height=(faheight*0.923+moheight)/2break

}

printf("Do you like sports?please input'Y' or 'N':")

scanf("%1s", &sports)

switch(sports)

{

case'Y':height=height*(1.02)break

case'N':height=heightbreak

}

printf("Do you have good diet and habits?please input'Y' or 'N':")

scanf("%1s", &diet)

//分析判断预测

switch(diet)

{

case'Y':height=height*(1.015)break

case'N':height=heightbreak

}

printf("\nmy height is:%.3f",height)

return 0

}


欢迎分享,转载请注明来源:内存溢出

原文地址: https://www.outofmemory.cn/yw/8242924.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-04-14
下一篇 2023-04-14

发表评论

登录后才能评论

评论列表(0条)

保存