Thread: How to write a C program on World Population Growth Calculator?

  1. #1
    Registered User
    Join Date
    Nov 2011
    Posts
    1

    How to write a C program on World Population Growth Calculator?

    Given that the current world population is 7 billion and the annual world population growth rate is 1.2%, write a C program that inputs these values, and then displays the estimated world population after one, two, three, four and five years.
    (Using do....while statement)
    NOTE: Make sure it is a C program and NOT a C++ program. Program MUST run in Turbo C++ version 4.5)
    Please I need your help. pleaaaaaaaase

  2. #2
    Registered User
    Join Date
    Oct 2011
    Location
    Denmark
    Posts
    80
    Well first try to think about an algorithm that would perform this task, then try to write it in C. When you have done that if you have issues come back here and show what you've done, then we will be able to help you.

  3. #3
    Registered User
    Join Date
    Sep 2006
    Posts
    8,868
    Welcome to the forum, Raaj!

    Get this program kick-started, and tell us when/if you get stuck, what's wrong.

    The more specific you can be, the better our help will be (probably).

  4. #4
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by raaj View Post
    NOTE: Make sure it is a C program and NOT a C++ program. Program MUST run in Turbo C++ version 4.5)
    You might want to think about updating that compiler.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. how to write a program of a simple calculator?
    By yeohwl91 in forum C Programming
    Replies: 5
    Last Post: 09-24-2011, 04:04 PM
  2. Write a program to model a simple calculator
    By Annihilate in forum C Programming
    Replies: 5
    Last Post: 11-22-2010, 01:14 PM
  3. Problems with growth program.
    By teck in forum Windows Programming
    Replies: 4
    Last Post: 11-14-2007, 04:28 PM
  4. Sort by population or area
    By the_lumin8or in forum C++ Programming
    Replies: 3
    Last Post: 09-30-2006, 07:12 AM
  5. how many programmers does it take to write hello world?
    By doubleanti in forum A Brief History of Cprogramming.com
    Replies: 14
    Last Post: 11-07-2001, 10:34 PM

Tags for this Thread