有关于C++程序设计的问题,请高人指正下面一段程序的错误,不胜感谢

来源:百度知道 编辑:UC知道 时间:2024/06/08 01:18:04
#include <iostream>
using namespace std;
int main ( )
{
int a,b;
cout<<"Enter number to encrypt:";
cin>>a;
b=a*7+5;
cout<<"Encrypted number:"<<b;
return 0;
}

没有错误啊!

错误?

什么错误?

用这个加密?

可能是你的编译器出问题了吧?

下面是我运行的结果