public Class Love{
public static void main(String args[]){
You you = new You()
Me me = new Me()
if(Me.sayLoveTo(you)==true &&You.sayYesTo(me)==true){
Me.loveForever(you)
}
}
}
程序员的表白代码
第一条语言:Java代码翻译:直到死之前,每天爱你多一点代码:while(lifeend){love++}
第二条语言:C语言代码翻译:IcannotsayHellototheWorldwithoutu.代码:#incldestdio.hintmain(){printf(HelloWorldn)retrn0}//IcannotsayHellototheWorldwithoutu.
第三条语言:python代码翻译:山无陵,江水为竭,冬雷震震,夏雨雪,天地合,乃敢与君绝!代码:if(mountain.arris==None):if(river.water==None):if(winter.thunder==True):if(summer.snow==True):if(sky.height==ground.height):i.withyou=Falseelse:i.withyou=True.
第四条语言:Erlang代码代码翻译:深圳相遇,至死不渝代码:-module(you_and_me).-export([start/1]).-record(person,{name,address,status}).start(Name)-one_world(Name).one_world(Name)keep_to_love_you(Person).say_goodbye(Person)-io:format(~p:seeyounextworld!~n,[Person#person.name]).see_you_next_world(Name)-one_world(Name).
第五条语言:Java语言代码翻译:爱你到天荒地老代码:while(!world.destroy){System.out.println(iloveyou)}
给你一个javascript的程序,文件名保存为1.html就可以<html>
<head>
<title>网页开屏 </title>
</head>
<script language="javascript">
var x = 10
var dx = 5
var y = window.screen.availHeight
var newWin = window.open("", "myWin", "menubar=0,toolbar=0")
newWin.document.write("I &nbsp L &nbspo &nbspv &nbspe &nbsp Y &nbspo &nbspu!")
newWin.resizeTo(x, y)
var time = window.setInterval("active()", 100)
function active() {
if(newWin.closed){
clearInterval(time)
return
}
else if(x <screen.availWidth){
x+=dx
}
else {
clearInterval(time)
}
newWin.resizeTo(x,y)
}
</script>
</html>
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)