🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #12100

Ansi C

#12100
From: Atlantis
Date: Sun, 16 Dec 2001 04:29
23 lines
1469 bytes
#include <stdio.h>

int main(void)
{
 float kwa=0, maandsal=0;


 printf("Geef maandloon: ");
 scanf("%f",&maandsal);
 kwa=maandsal*3;

 if (kwa>0 && kwa<=135000)
  printf("De maandelijkse afhouding op het brutoloon bedraagt 0 frank.");
 if (kwa>=135001 && kwa<=200000)
  printf("De maandelijkse afhouding op het brutoloon bedraagt 375 frank.");


 return 0;
}

Bij compilen steeds 3 warnings constant is to long in function main.
Wat is er dan mis?
Alvast bedankt!
Technical Details
Message-ID: <hqVS7.4319$Up1.623@afrodite.telenet-ops.be>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!193.190.198.17!newsfeeds.belnet.be!news.belnet.be!ossa.telenet-ops.be!afrodite.telenet-ops.be.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit
X-Google-Thread: fcea4,24be0719b7a39d52,start
X-Google-Attributes: gidfcea4,public
X-Google-ArrivalTime: 2001-12-15 20:29:02 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!193.190.198.17!newsfeeds.belnet.be!news.belnet.be!ossa.telenet-ops.be!afrodite.telenet-ops.be.POSTED!not-for-mail
From: "Atlantis" <atlantis@usa.net>
Newsgroups: be.comp.programming
Subject: Ansi C
Lines: 25
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
Message-ID: <hqVS7.4319$Up1.623@afrodite.telenet-ops.be>
Date: Sun, 16 Dec 2001 04:29:01 GMT
NNTP-Posting-Host: 213.224.163.204
X-Complaints-To: abuse@pandora.be
X-Trace: afrodite.telenet-ops.be 1008476941 213.224.163.204 (Sun, 16 Dec 2001 05:29:01 MET)
NNTP-Posting-Date: Sun, 16 Dec 2001 05:29:01 MET
Organization: Telenet Internet