var myage =99;//赵红的年龄为99 if(myage<=44) {document.write("青年");} else if(myage<=59) {document.write("中年人");} ? (myage<=89) {document.write("老年人");} ? {document.write("长寿老年人");}
var myage =99;
//赵红的年龄为99
if(myage<=44) {document.write("青年");}
else if(myage<=59) {document.write("中年人");}
else if(myage<=89) {document.write("老年人");}
default {document.write("长寿老年人");}