Skip to content

Commit

Permalink
Update complex_test_program.npc
Browse files Browse the repository at this point in the history
  • Loading branch information
m-heim authored Dec 21, 2022
1 parent ea4eb77 commit 29668c7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions programs/complex_test_program.npc
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ int main(int argc, string[] argv) {
int y = b <= d;
int u = i < d;
if (argc < i) {
println("ERROR: Program requires at least 1 argument");
println("ERROR: Program requires at least 1 argument!");
return 2;
}
char[12] str = "Hello World";
string str2 = "Hello World";
for (int j = 0; i < sizeof(str); i++) {
if (str[i] <= 91) {
println("lower");
println("lower than 91");
}
}
println("\n");
Expand All @@ -30,7 +30,7 @@ int main(int argc, string[] argv) {
#using std.core
void sort(int[] arr) {
for(long i = 0; i < sizeof(arr); i++) {
printf("Lol");
printf("Function not implemented");
}
return;
}
Expand Down

0 comments on commit 29668c7

Please sign in to comment.