---++ Soluzione dell'Homework 3 (Mastermind) Vedi anche: HomeWork3, DomandeHomework3, RisultatiHomework3. Ecco la [[%ATTACHURL%/indovina.c][versione]] che ho scritto io: * ho semplificato la funzione di confronto in modo che confronti due numeri interi (di 5 cifre) * essa torna un numero intero le cui decine sono gli strike e le unità i ball * ho memorizzato in due array di 20 elementi (il numero massimo di tentativi) * il tentativo * la risposta __NOTA:__ coma al solito la riga *#include* appare vuota perchè viene interpretata come tag html dal browser. Nel codice è corretta. <pre style="background:lightgrey"> %INCLUDE{"%WEB%/%TOPIC%/indovina.c"}% </pre> -- Users.AndreaSterbini - 19 Nov 2003 * Set ALLOWTOPICCHANGE = Users.DocentiProg1Group
Attachments
Attachments
Topic attachments
I
Attachment
History
Action
Size
Date
Who
Comment
c
indovina.c
r1
manage
1.8 K
2003-11-26 - 23:33
AndreaSterbini
indovina il codice
This topic: Programmazione1/AA0506/PZ
>
HomeWork3
>
DomandeHomework3
>
SoluzioneHomework3
Topic revision: r3 - 2004-11-04 - AndreaSterbini
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback