nån som vet hur man gör en räknare i java som räknar
från 1-10 och sedan 10-1
Hur man gör en räknare i java
- Peter Wall
- Hedersbit
- Posts: 7026
- Joined: 2002-03-08 0:52:56
- Location: Stockholm
- Contact:
Jag vet inte riktigt vad som menas med frågan, ej heller jag har pysslat med Java. Men är det något liknande detta du vill göra? http://www.cafeaulait.org/course/week2/30.html
Du får nog specifiera frågan mer för att få ett riktigt bra svar från någon som kan Java.
Du får nog specifiera frågan mer för att få ett riktigt bra svar från någon som kan Java.
Diplomerad webbutvecklare
Microsoft Certified Professional Windows 2003
Microsoft Certified Technology Specialist Windows Vista
"Did you know kidneys and applesauce are a delicacy in Sweden? I'm gonna get my applesauce back!"
Microsoft Certified Professional Windows 2003
Microsoft Certified Technology Specialist Windows Vista
"Did you know kidneys and applesauce are a delicacy in Sweden? I'm gonna get my applesauce back!"
Code: Select all
for(i=0;i =< 10;i++) {
System.out.printf(i);
}
for(i=10;i => 10;i--) {
System.out.printf(i);
}
"Rightful liberty is unobstructed action according to our will within limits drawn around us by the equal rights of others."- Thomas Jefferson
Saknas det inte en vrållång moj i stil med:nem wrote:Code: Select all
for(i=0;i =< 10;i++) { System.out.printf(i); } for(i=10;i => 10;i--) { System.out.printf(i); }
Public int foo function returns void has public interface Main-nånting där också?
(Dagens låt-oss-driva-med-java)
Oh give me a clone, my very own clone,
with the Y chromosome changed to X!
And since she's my own, of my own flesh and bone,
she'll be thinking of nothing but sex!
with the Y chromosome changed to X!
And since she's my own, of my own flesh and bone,
she'll be thinking of nothing but sex!