C Programming Contest

Locked
Message
Author
User avatar
hjb
Pro-Linux
Posts: 3264
Joined: 15. Aug 1999 16:59
Location: Bruchsal
Contact:

C Programming Contest

#1 Post by hjb »

Hi!

Da habe ich gerade etwas gefunden. Schon etwas älter, aber gerade wieder ausgegraben.

<blockquote><pre><font size="1" face="">code:</font><hr><font face="Courier New" size="2">
From: Peter Davie <pete@hunting.demon.co.uk>
Newsgroups: comp.lang.c.moderated
Subject: Re: NEW CONTEST!
Date: 7 Feb 1996 18:26:15 -0600
Organization: None
Lines: 19
Sender: clc@solutions.solon.com
Approved: clc@solutions.solon.com
Message-ID: <4fbfv7$9oa@solutions.solon.com>
References: <4f555e$6tr@solutions.solon.com> <4fa78q$2kt@solutions.solon.com>
Reply-To: pete@hunting.demon.co.uk
NNTP-Posting-Host: solutions.solon.com
X-NNTP-Posting-Host: hunting.demon.co.uk
X-Broken-Date: Wednesday, Feb 07, 1996 15.40.06
X-Newsreader: Newswin Alpha 0.7
X-Mail2News-Path: relay-4.mail.demon.net!post.demon.co.uk!hunting.demon.co.uk

In article <4f555e$6tr@solutions.solon.com> seebs@solon.com (Peter Seebach) writes:

>
>1. Write a program which asks for the user's name, age, and any other
>information you want, and which prints a chatty greeting message, and
>writes the user's information to a file.

#include <stdio.h>

int main(void)
{
printf("Tell me your name, age and height\<!--no-->nHi.\<!--no-->nthe user's information to a file.
");
return 0;
}

--
|\|\
(@@)
~ Cheers, Pete.

</font><hr></pre></blockquote>

Gruß,
hjb
Pro-Linux - warum durch Fenster steigen, wenn es eine Tür gibt?

Locked