Jeu Mystère

Description

Description du programme jeu mystère
Fen Pin
Note by Fen Pin, updated more than 1 year ago
Fen Pin
Created by Fen Pin over 7 years ago
9
0

Resource summary

Page 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)

Show full summary Hide full summary

Similar

Nombre Mystère
Fen Pin
The main reason knowledge is produced is to solve problems.
Darrel Hong
LMC questions
sbadger
French Future Tense Verbs
PEACEout
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