Thread: Need some help!

  1. #1
    Registered User
    Join Date
    Sep 2001

    Exclamation Need some help!

    The program attached compiles;
    This mass could produce 9e+014 Joules of energy.
    It could power 2.5e+009 100 watt light bulbs for an hour.
    The zero before 14, and 09 aren't wanted......

  2. #2
    Registered User kitten's Avatar
    Join Date
    Aug 2001
    Look your help files for formatting cout output. Or use printf() included in <stdio.h>.
    Making error is human, but for messing things thoroughly it takes a computer

Popular pages Recent additions subscribe to a feed