Dessiner en C

Fermé
identifiant111 Messages postés 1 Date d'inscription mardi 10 avril 2012 Statut Membre Dernière intervention 10 avril 2012 - 10 avril 2012 à 19:56
fiddy Messages postés 11069 Date d'inscription samedi 5 mai 2007 Statut Contributeur Dernière intervention 23 avril 2022 - 10 avril 2012 à 21:14
Bonjour,
J'ai besoin de votre aide concerant cet exercice. Ceci est trés urgent. Merci de bien vouloir m'aider le plutot possible.


Write a program that asks the user about the shape he/she wants to see printed and the size of the shape depending on the one that he has chosen (for example if the choice is square, you should ask about the size of the side, if rectangle you ask about the length and the width, if it is triangle you ask about the size of the base, and finally for the Diamond you do not ask, you choose the size you want).
The drawing of each shape must be in a separate function. There must also be One function that prints the main menu to the user.
1-square (it might not look as a square but the number of stars needs to be equal on the sides)
2-rectangle
3-Diamond
4-right triangle
5-left triangle
6-inverted right triangle
7- inverted left triangle
(an example of each shape is shown below)


A voir également:

1 réponse

fiddy Messages postés 11069 Date d'inscription samedi 5 mai 2007 Statut Contributeur Dernière intervention 23 avril 2022 1 840
10 avril 2012 à 21:14
Bonjour,

La moindre des choses quand on demande une aide c'est de nous faciliter la tâche. Donc, commence par traduire en français. Ensuite, montre-nous ce que tu as commencé à faire et explique-nous ce qui te pose problème pour qu'on puisse t'aider.
0