Can't find any solution

Can't find any solution
0
var a= b;

while(a>10){

for(a>10;a<=10;a++){

var a=10;

var c=2;

(c>a)?'yes':'No';

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

a= b;

var b=10;

var s= c*b;

console.log(s);

}

}

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.