Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*****************************************************************************
- FILE : Template.c
- VERSION DATE PROGRAMMER REMARKS
- 1.0 24.12.03 Muster H. Template erstellt
- 1.1 6.7.2006 Master S. Kommentare eingefügt
- USED BY
- C-Kurs / Grundlagen
- BESCHREIBUNG
- Dies ist eine Vorlagendatei für einfache C-Programme
- COPYRIGHT (C) 2006 by H.U.Steck CH-6343 Rotkreuz
- *****************************************************************************/
- /* IMPORT ---------------------- */
- #include <stdio.h>
- /* KONSTANTEN ------------------ */
- /* VARIABLEN (global) ---------- */
- /* HAUPTPROGRAMM --------------- */
- int main()
- {
- int Eingabe;
- printf("Gib Anzahl Sterne an:");
- scanf("%d", &Eingabe);
- while(Eingabe>0){
- printf("*");
- Eingabe--;
- }
- puts(""); //Für Zeilenumbruch
- return 0;
- } /* ------------------------------------------------------------------------*/
- /* Bildschirmdialog
- */
Advertisement
Add Comment
Please, Sign In to add comment