Program frustrations

This is a discussion on Program frustrations within the C Programming forums, part of the General Programming Boards category; i need help getting this written, when it comes to writting a prog from scratch I just forget everything. if ...

  1. #1
    Registered User
    Join Date
    Jun 2002
    Posts
    1

    Program frustrations

    i need help getting this written, when it comes to writting a prog from scratch I just forget everything. if someone could help i would appreciate it.



    program should read taxable incomes and lists the taxable incomes and the taxes, and end
    upon enter 0


    Amt Over Amt. But not over Tax
    $0 $2390 $0
    $2390 $3540 11 % of amount over $2390
    $3540 $4580 $126.50 + 12% of amt over $3540
    $4580 $6760 $251.30 + 14% of amnt over $4580
    $6760 $8850 $556.50 + 15% of amnt over $6760
    $8850 $11240 $870.00 + 16% of amnt over $8850
    $11240 $13430 $1252.40 + 18% of amnt over $11240
    $13430 $15610 $1646.60 + 20% of amnt over $13430

  2. #2
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    You're going to have to do better than that...
    Please post some working/semi-working code and post specific questions.

    Above all, YOU do the coding - OK?
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Issue with program that's calling a function and has a loop
    By tigerfansince84 in forum C++ Programming
    Replies: 9
    Last Post: 11-12-2008, 01:38 PM
  2. Need help with a program, theres something in it for you
    By engstudent363 in forum C Programming
    Replies: 1
    Last Post: 02-29-2008, 01:41 PM
  3. Replies: 4
    Last Post: 02-21-2008, 10:39 AM
  4. Replies: 3
    Last Post: 03-04-2005, 02:46 PM
  5. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 11:04 PM

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