Visual Studio模数运算符不适合我。 [英] Visual Studio Modulus operator not working for me.

查看:116
本文介绍了Visual Studio模数运算符不适合我。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我需要有关模数运算符或模运算符的帮助,我对visual studio和c ++也相当陌生,因为我在学校使用c ++,在家中使用visual studio,我有一个使用模运算符的任务但它似乎没有用,
我已经尝试了一切,我需要帮助所以有人有建议,你的回复会非常感激。谢谢。

Hi I need help on the modulus operator or modulo operator, I am fairly new to visual studio and c++ as well because I use c++ in school and visual studio at home and I have an assignment to use a modulo operator but it doesn't seem to work, I've tried everything, I need help so does anyone have suggestions, your response would be much appreciated.Thanksss.

抱歉有些原因我无法附加图片,直到我的帐户被验证,我不知道为什么这样做。

sorry for some reason I cant attach images until my account is verified, I don't know why its doing that.




推荐答案

请使用正确的论坛。请。 Visual Studio不是一种语言,它没有模数运算符。

Please use the correct forum. Please. Visual Studio is not a language, it does not have a modulus operator.

您的程序没有显示x和y的值。使用"cin"获取数据并不总是像我们期望的那样工作。问题可能是x和/或y没有你认为的值。

Your program is not showing the value of x and y. Use of "cin" to get data does not always work as we expect it to. The problem might be that x and /or y does not have the value you think it does.


这篇关于Visual Studio模数运算符不适合我。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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