Computer Science, asked by DEATH65654, 1 year ago

Please help with this thing
i don't understand what is the issue
it is c programming

Attachments:

Answers

Answered by aditi123kumar
1
are you writing c code or c++ code
c code has .c extension
eg.c
c++ has CPP extension
eg.cpp

If that part is correct already,
elseif can be replaced by elif or try writing in combo (elseif)
don't put ; after elseif or if statement.

if (a == 1)
statement 1;
elseif( b == 2)
statement 2;

DEATH65654: thank you brother/ sister
Similar questions