Log In

Home
    - Create Journal
    - Update
    - Download

Scribbld
    - News
    - Paid Accounts
    - Invite
    - To-Do list
    - Contributors

Customize
    - Customize
    - Create Style
    - Edit Style

Find Users
    - Random!
    - By Region
    - By Interest
    - Search

Edit ...
    - User Info
    - Settings
    - Your Friends
    - Old Entries
    - Userpics
    - Password

Need Help?
    - Password?
    - FAQs
    - Support Area


jimmy ([info]jimmy) wrote,
@ 2004-10-13 22:49:00

Previous Entry  Add to memories!  Tell a Friend!  Next Entry
Code
Please look:

// Currency Convertor
// Jimmy Brancaccio
#include
using namespace std;

int reais, bolivares, dollars, money, country;

void input(int& money, int country){
cout << "Type 1 for Brazil and 2 for Venezuela" << endl;
cin >> country;
if (country == 1){
cout << "Type 1 for dollars and cents to reais or 2 for reais to dollars and cents" << endl;
cin >> money;}
else{
cout << "Type 1 for dollars and cents to bolivares or 2 for bolivares to dollars and cents" << endl;
cin >> money;}
}

void process (){
cout<< "Process reached ... " << endl;
}
void output (){
cout<< "Output reached ... " << endl;
}


int main(){
char ans;

do
{
input(money, country);
process();
output();
cout << "Do you want to enter in more data? Hit y to do so or n to exit" << endl;
cin >> ans;
}
while (ans == 'y' || ans == 'Y');
cout << "Bye" << endl;
return 0;
}

Take notice that the functions process and output HAVE NOTHING. This is because I hate programming and I just gave up since programming is the crappiest thing in the entire world!!! Only like 15 minutes left of this dumbass class...YAAAAR!!! I got emails too, hehe


(Read comments)

Post a comment in response:

From:
( )Anonymous- this user has disabled anonymous posting.
( )OpenID
Username:
Password:
Don't have an account? Create one now.
Subject:
No HTML allowed in subject
  
Message:
 



scribbld is part of the horse.13 network
Design by Jimmy B.
Logo created by hitsuzen.
Scribbld System Status