Thread: phone lines calculation

  1. #1
    Registered User
    Join Date
    Mar 2011

    phone lines calculation

    Hi! newbee here, I need help with a program that calculates the phone lines for 100 suscriptors with the formula: lines = n (n-1)/2

  2. #2
    Join Date
    Oct 2007
    Inside my computer
    Show your attempt and make specific questions.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. tell me the errors of this simple phone book ?
    By blogchama in forum C Programming
    Replies: 5
    Last Post: 01-16-2010, 05:42 AM
  2. Replies: 0
    Last Post: 11-22-2009, 11:23 AM
  3. Line Counting
    By 00Sven in forum C Programming
    Replies: 26
    Last Post: 04-02-2006, 08:59 PM
  4. Contest Results - May 27, 2002
    By ygfperson in forum A Brief History of
    Replies: 18
    Last Post: 06-18-2002, 01:27 PM
  5. Phone Class
    By Unregistered in forum C++ Programming
    Replies: 5
    Last Post: 03-30-2002, 07:42 AM