Fix errors in mC example inputs (thanks Markus)
This commit is contained in:
@@ -4,8 +4,10 @@ int main(){
|
||||
print_nl();
|
||||
int n;
|
||||
n = read_int();
|
||||
bool a = 1 <= n;
|
||||
bool b = 2 == n;
|
||||
bool a;
|
||||
a = 1 <= n;
|
||||
bool b;
|
||||
b = 2 == n;
|
||||
b = 3 >= n;
|
||||
n = n * 2;
|
||||
n = n / 2;
|
||||
@@ -15,9 +17,12 @@ int main(){
|
||||
a || b;
|
||||
a != !b;
|
||||
int[3] test;
|
||||
string hi = "Hello";
|
||||
float f = -1.0;
|
||||
bool c = true;
|
||||
string hi;
|
||||
hi = "Hello";
|
||||
float f;
|
||||
f = -1.0;
|
||||
bool c;
|
||||
c = true;
|
||||
if (c)
|
||||
{
|
||||
while(c){
|
||||
|
Reference in New Issue
Block a user