Can't find any solution

var a= b;



var a=10;

var c=2;


('yes'||'No')? c=4:c=2;

a= b;

var b=10;

var s= c*b;




Hello,I’m a complete beginner and I just wrote this codes of my own but doesn’t display the solution what went really wrong? can anyone explain me what went wrong?strong text

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make easier to read.

See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.

Note: Backticks are not single quotes.