User Profile

Collapse

Profile Sidebar

Collapse
mgrubbs
mgrubbs
Last Activity: Dec 13 '08, 05:43 PM
Joined: Dec 10 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • mgrubbs
    replied to Help these programs not working!!!
    in C
    tried your suggestion



    tried your suggestion but did not work will look at the othe option you stated.Thanks again for your help, Mark...
    See more | Go to post

    Leave a comment:


  • mgrubbs
    replied to Help these programs not working!!!
    in C
    thanks let me explain

    What it amounts to is when I enter the code it is suppose to pop up the shipping charge when I go into to start without debugging it is suppose to pop up enter code then I put 1 or whatever code for a shipping charge then it is suppose to pop up that number. That is the problem it is going to the enter the code and when I do it does not come up with the shipping charge. Maybe that will help some. I am a newbie...
    See more | Go to post

    Leave a comment:


  • mgrubbs
    started a topic Help these programs not working!!!
    in C

    Help these programs not working!!!

    Code:
    #include <iostream>
    
    using std::cout;
    using std::cin;
    using std::endl;
    
    int main()
    {	
     int code = 0;
     int charges = 0;
    
     //enter input data
     cout << "State code: ";
     cin >> code;
     cout << "Shipping charges: ";
     cin >> charges;
    
     switch (code)
     {
     case 1:
    	     charges = 25;
    ...
    See more | Go to post
    Last edited by Markus; Dec 10 '08, 09:07 PM. Reason: Added [code] tags.
No activity results to display
Show More
Working...