C++ “或=或=
大家好,我将回到C编程练习,在这个特殊的程序中,我得到了一个预期的主表达式 趁我不在的时候试试C++ “或=或=,c++,C++,大家好,我将回到C编程练习,在这个特殊的程序中,我得到了一个预期的主表达式 趁我不在的时候试试 当i=当i=当i=关系运算符为==,!=,=,时尝试。C/C++中没有=>或=或=
当i=当i=当i=关系运算符为==,!=,=,时尝试。C/C++中没有=>或=<运算符。关系运算符为==,!=,=。C/C++中没有=>或=<运算符。
#include <stdio.h>
#include <iostream>
using namespace std;
int main(){
int number, i=8;
cout <<"Please enter all numbers from 8-23\n";
cout <<"Start Now: ";
while (i=<23){
cin>>number;
cout<<"Next: ";
if (number!=i){
cout<<"That was the wrong, Please enter: "<<i<<endl;
}
else
i++;
}
cout<<"Congratulations!!\n";
return 0;
}
while (i=<23){
^^