What is the difference between else and end if in pseudocode?

there are a lot of instances where i suppose else must be used instead of endif. i cant differentiate between them. also there is no example where else is used in pseudocode writing.

hi Arnav,
image
this will clear all ur doubts…

hi Arnav,
i hope its clear now??

sir can you please write the pseudocode of checking prime using else( i have pseudocode using endif)

Arnav, u are not getting… if ke bad else wali statement aayegi and last mei endif likhna hi pdega… see the example i sent u above… same would be for prime also…

is there still anything or shall i mark it as resolved??

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.