Jeu Mystère

Beschreibung

Description du programme jeu mystère
Fen Pin
Notiz von Fen Pin, aktualisiert more than 1 year ago
Fen Pin
Erstellt von Fen Pin vor mehr als 7 Jahre
8
0

Zusammenfassung der Ressource

Seite 1

Jeu Mystère

I - Commandes PréprocesseurInclure 3 bibliothèques : stdio.h (printf, scanf) stdlib.h (srand) time.h (time) II - Fonction PrincipaleInformations : Nom : main Type : entier Argument : néant (void) Déclaration Variables (int) : rp : replay lvl : level n_usr : number of user n_myst : mysterious number n_ipt : input number vld_ipt : valid input Initialisation des Variables (int) : rp = 0 lvl = 1 n_usr = 1 vld_ipt = 0 III - Boucles1 - Boucle replay Type : Do / While Condition : rp == 1 Do : Do {..} while ( vld_ipt == 1) : Printf : règles + sélection lvl scanf : lvl if (lvl == 1 || lvl == 2 || lvl == 3) vld_ipt =1 Boucle incluses : Sélection lvl (do while)

Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

Nombre Mystère
Fen Pin
The main reason knowledge is produced is to solve problems.
Darrel Hong
French Future Tense Verbs
PEACEout
LMC questions
sbadger
EQUIPAMIENTO COMUNAL Y PUBLICO (Areas Verdes)
Karla Salinas7200
Essbase Certification
Bob Costas
auditing 1
Christian Cobo
Stem-And-Leaf Diagrams
Olivia Brooklyn
Evolution of the Major Programming Languages
Amy Dang
Características cualitativas de los estados financieros
Michelle Cruz4299
Skull Bones
Justin Jimmy