Need help Calculation integers.

This is a discussion on Need help Calculation integers. within the Linux Programming forums, part of the Platform Specific Boards category; I need a simple program to run in terminal displaying the Volume of a cylinder, volume of a cone, area ...

  1. #1
    Registered User
    Join Date
    Sep 2013
    Posts
    1

    Need help Calculation integers.

    I need a simple program to run in terminal displaying the Volume of a cylinder, volume of a cone, area or a trapezoid, and lateral area of a cylinder. Ubuntu 64bit

    Can someone please help me??? I've tried using doubles and integers but all of the calculations just read out either 0 or 1.

  2. #2
    11DE784A SirPrattlepod's Avatar
    Join Date
    Aug 2013
    Posts
    485
    Please paste the code (or a bit of it) that you have so far

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 3
    Last Post: 03-26-2012, 11:50 AM
  2. calculation
    By Rohit88 in forum C Programming
    Replies: 9
    Last Post: 01-03-2012, 01:53 PM
  3. calculation always gives 0
    By Emma K in forum C Programming
    Replies: 18
    Last Post: 11-24-2010, 06:00 PM
  4. VAT Calculation
    By lukesowersby in forum C Programming
    Replies: 4
    Last Post: 03-21-2009, 01:01 PM
  5. Help With Calculation
    By WackoWolf in forum C++ Programming
    Replies: 4
    Last Post: 10-12-2005, 06:18 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21