转换墨西哥比索和美元的程序。(C ++ [英] A program that converts Mexican Peso and USD.(C++

查看:87
本文介绍了转换墨西哥比索和美元的程序。(C ++的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿伙计们!所以我有一项任务,要求我制定一个计划,以确定美元和墨西哥比索的买卖价值。该程序将运行一整天,最后必须使用特殊的标记终止。我们的想法是,由于这是一项业务,我们必须赚取利润,这就是计算方法的设定方式。该计划虽然不完整,但我遇到了重大问题。如果有人想要实际的作业单,那么我会发布它,因为我不确定是否允许发布它。我也可以PM。谢谢。

展开 | 选择 | Wrap | < span class =codeLinkonclick =LineNumbers(this);>行号

解决方案

你的问题是什么?


它只打印下面的代码,但没有别的。

展开 | 选择 | Wrap | 行号


退出。但两者之间没有做任何事情。另外我想指出我是C ++的新手。我参加了为期8周的课程,所以一切都很匆忙。我正在读书并尝试实施这个想法,因为显然我不希望我的作业由其他人完成。请帮帮我。谢谢。


Hey guys! So I have an assignment which requires me to make a program that will determine the buying and selling value of USD and Mexican Peso. The program is to run the entire day and at the end it will have to be terminated using a special sentinel. The idea is that since this is a business we will have to make a profit so that is how the calculate is set up. The program is not complete though but I am facing major problems. If anyone wants the actual assignment sheet only then I will post it as I am not sure whether it is allowed to post it or not. I can PM it too. Thanks.

Expand|Select|Wrap|Line Numbers

解决方案

What is your question?


It just prints the code below but nothing else.

Expand|Select|Wrap|Line Numbers


It exits. But doesn''t do anything in between. Also I would like to point that I am new to C++. I am enrolled in an 8 week course so everything is pretty much rushed. I''m reading books and trying to implement the idea because obviously I do not want my homework to be done by others. Please help me out. Thank you.


这篇关于转换墨西哥比索和美元的程序。(C ++的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆