Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Didattica > Corsi A - F > Fondamenti di architettura e programmazione > Urgenteee Java esercizio
  Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
cipos83
.consigliere.

User info:
Registered: Nov 2002
Posts: 116 (0.01 al dì)
Location: Cogliate
Corso: Comunicazione digitale
Anno: Secondo
Time Online: 2 Days, 20:11:32 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
Urgenteeeeeeeeeee!!!

Qualcuno sa risolvere questo es in java?

Costruire una soluzione ricorsiva per il calcolo della sommatoria dei primi N numeri pari e descrivere i record di attivazione che verrebbero generati in occorrenza delle invocazioni del metodo sviluppato nel caso di N=5.

Se qualcuno non si ricordasse come si fa a verificare se un numero è primo, ho scoperto che la somma dei primi N numeri primi, è uguale a N*N.

Qualcuno mi aiuta?

Grazie

__________________
Ma che cazzo c'ho, 'na portaerei?

23-06-2003 20:56
Click Here to See the Profile for cipos83 Click here to Send cipos83 a Private Message Find more posts by cipos83 Add cipos83 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Terrytop
. : funambolo : .

User info:
Registered: Jul 2002
Posts: 5075 (0.62 al dì)
Location: just in my mind
Corso: penetrazione digitale
Anno: finito'
Time Online: 71 Days, 5:58:12 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
Re: Urgenteeeeeeeeeee!!!

Originally posted by cipos83
Se qualcuno non si ricordasse come si fa a verificare se un numero è primo, ho scoperto che la somma dei primi N numeri primi, è uguale a N*N.


ma che centrano i numeri primi ? sopra parli di numeri pari ... se fosse solo cosi' basta una semplice ricorsione (semplice ... beh una volta ke hai capito ke e' ... )

Terrytop

__________________
Den som väntar på något gott väntar aldrig för länge
"...una radio spenta e' peggio che scambiare una radio per un adesivo..."
la gente dorme e si sveglia solo per morire

23-06-2003 22:22
Click Here to See the Profile for Terrytop Click Here to See the Blog of Terrytop Click here to Send Terrytop a Private Message Find more posts by Terrytop Add Terrytop to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
cipos83
.consigliere.

User info:
Registered: Nov 2002
Posts: 116 (0.01 al dì)
Location: Cogliate
Corso: Comunicazione digitale
Anno: Secondo
Time Online: 2 Days, 20:11:32 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

sorry, non è somma dei primi numeri pari, ma primi, e poi ho scoperto che non è n*n

__________________
Ma che cazzo c'ho, 'na portaerei?

23-06-2003 22:32
Click Here to See the Profile for cipos83 Click here to Send cipos83 a Private Message Find more posts by cipos83 Add cipos83 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Terrytop
. : funambolo : .

User info:
Registered: Jul 2002
Posts: 5075 (0.62 al dì)
Location: just in my mind
Corso: penetrazione digitale
Anno: finito'
Time Online: 71 Days, 5:58:12 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Se e' un riferimento all'esercizio dell'esame di aprile di Haus, sono i numeri pari !

Terrytop

PS: per quanto riguarda il codice scusami ma ora il 90% della mia attivita' cerebrale va a fisica, non vorrei scriverti qualcosa ke poi si rivela errato

__________________
Den som väntar på något gott väntar aldrig för länge
"...una radio spenta e' peggio che scambiare una radio per un adesivo..."
la gente dorme e si sveglia solo per morire

23-06-2003 22:34
Click Here to See the Profile for Terrytop Click Here to See the Blog of Terrytop Click here to Send Terrytop a Private Message Find more posts by Terrytop Add Terrytop to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 14:38.    Post New Thread    Post A Reply
  Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.031 seconds (78.25% PHP - 21.75% MySQL) con 26 query.