Click here to Skip to main content
16,008,750 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalmfc and need handles... Pin
ns20-Sep-02 7:13
ns20-Sep-02 7:13 
GeneralRe: mfc and need handles... Pin
Blaster20-Sep-02 7:32
Blaster20-Sep-02 7:32 
GeneralRe: mfc and need handles... Pin
ns20-Sep-02 7:44
ns20-Sep-02 7:44 
GeneralRe: mfc and need handles... Pin
Blaster20-Sep-02 8:05
Blaster20-Sep-02 8:05 
GeneralRe: mfc and need handles... Pin
ns20-Sep-02 8:58
ns20-Sep-02 8:58 
GeneralNeed help!!!!! Pin
Atika Khan20-Sep-02 6:59
Atika Khan20-Sep-02 6:59 
GeneralRe: Need help!!!!! Pin
Le centriste20-Sep-02 7:16
Le centriste20-Sep-02 7:16 
GeneralRe: Need help!!!!! Pin
Atika Khan20-Sep-02 7:31
Atika Khan20-Sep-02 7:31 
I did give it a shot but the only things thats outputs is the metric ton and not the bottles, here is the program....what am i doing wrong here....


#include <iostream.h>


int main()

{

int ale, bottles, sum, sum1; // declaration

cout << "Weight of bottle of ale in ounces\n"; // prompt at Screen

cin >> ale;

sum = (ale/35273.92);

cout << "Weight of Ale in metric tons is" << sum << endl;

cin >> bottles;

sum1 = ((ale/35273.92) / 35273.92);

cout << "Number of bottles needed for 1 ton of ale are" <
GeneralRe: Need help!!!!! Pin
brianwelsch20-Sep-02 7:46
brianwelsch20-Sep-02 7:46 
GeneralRe: Need help!!!!! Pin
Atika Khan20-Sep-02 7:50
Atika Khan20-Sep-02 7:50 
GeneralRe: Need help!!!!! Pin
brianwelsch20-Sep-02 7:58
brianwelsch20-Sep-02 7:58 
GeneralRe: Need help!!!!! Pin
Anonymous20-Sep-02 8:30
Anonymous20-Sep-02 8:30 
GeneralRe: Need help!!!!! Pin
Ryan B.20-Sep-02 8:31
Ryan B.20-Sep-02 8:31 
GeneralRe: Need help!!!!! Pin
brianwelsch20-Sep-02 8:36
brianwelsch20-Sep-02 8:36 
GeneralRe: Need help!!!!! Pin
brianwelsch20-Sep-02 8:39
brianwelsch20-Sep-02 8:39 
GeneralC++, C#, Java, VB, ... Pin
Patje20-Sep-02 6:05
Patje20-Sep-02 6:05 
Questionhow to get the ProgramFiles directory Pin
tomc20-Sep-02 5:15
tomc20-Sep-02 5:15 
AnswerRe: how to get the ProgramFiles directory Pin
Jawache20-Sep-02 5:19
Jawache20-Sep-02 5:19 
AnswerRe: how to get the ProgramFiles directory Pin
jmkhael20-Sep-02 6:02
jmkhael20-Sep-02 6:02 
AnswerRe: how to get the ProgramFiles directory Pin
jmkhael20-Sep-02 6:06
jmkhael20-Sep-02 6:06 
AnswerRe: how to get the ProgramFiles directory Pin
Todd Smith20-Sep-02 7:26
Todd Smith20-Sep-02 7:26 
AnswerRe: how to get the ProgramFiles directory Pin
Stephane Rodriguez.20-Sep-02 7:31
Stephane Rodriguez.20-Sep-02 7:31 
GeneralDefault Document Open Pin
Ryan B.20-Sep-02 5:08
Ryan B.20-Sep-02 5:08 
GeneralRe: Default Document Open Pin
TyMatthews20-Sep-02 5:45
TyMatthews20-Sep-02 5:45 
GeneralRe: Default Document Open Pin
Ryan B.20-Sep-02 5:50
Ryan B.20-Sep-02 5:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.