Signup/Sign In
Ask Question
Not satisfied by the Answer? Still looking for a better solution?

Kindly help to solve Level 6 Lession 5

In the code editor, we have a basic structure of a C program ready.

We want you to implement an if-else code using the following pieces.

if()

0

1

else

else if

printf("Pass!");

printf("Fail");

The logic should be:

The if condition should pass, and print Pass! on the terminal.

The else condition should print Fail on the terminal.

You can only use the code pieces given in the options above, and nothing else.#include <stdio.h>

int main() {

return 0;
}
by

0 Answers

No Answer posted yet.

Login / Signup to Answer the Question.