Need help with C++ Programming work
Closed
                    
        
                    moey187
    
        
                    Posts
            
                
            2
                
                            Registration date
            Monday April 11, 2011
                            Status
            Member
                            Last seen
            April 11, 2011
            
                -
                            Apr 11, 2011 at 09:53 AM
                        
moey187 Posts 2 Registration date Monday April 11, 2011 Status Member Last seen April 11, 2011 - Apr 11, 2011 at 10:31 AM
        moey187 Posts 2 Registration date Monday April 11, 2011 Status Member Last seen April 11, 2011 - Apr 11, 2011 at 10:31 AM
        Related:         
- Need help with C++ Programming work
 - R programming download - Download - Programming languages
 - Eclipse programming download - Download - IDE
 - Delphi programming software - Download - IDE
 - Sqrt c programming - Guide
 - Scratch programming language download - Download - Programming languages
 
1 response
                
        
                    moey187
    
        
                    Posts
            
                
            2
                
                            Registration date
            Monday April 11, 2011
                            Status
            Member
                            Last seen
            April 11, 2011
            
                    
Apr 11, 2011 at 10:31 AM
    Apr 11, 2011 at 10:31 AM
                        
                    I really am having trouble and I have attempted some of the questions. For example in question 2 I have managed this but am not sure if I am right. If any of you can please give me a full display of the program then I would appreciate it but this is my answer to question 2:
Option A
//input hours worked hr
int salary;
if(hr<=40 && hr>0)
salary=hr*4;
else
salary=320+((hr-40)*4);
//print salary
Option B
//input character ch
if(ch>='a' && ch<='z')
//print
Also for question 3 I think they produce the same output but I am not sure which program is better and why as well as how to draw a flow chart.
Finally, for question 4, I believe there's 21 items? I just need help with the flow chart and desk checking. Also have no idea for question 1.
I really am trying. Thanks.
            Option A
//input hours worked hr
int salary;
if(hr<=40 && hr>0)
salary=hr*4;
else
salary=320+((hr-40)*4);
//print salary
Option B
//input character ch
if(ch>='a' && ch<='z')
Also for question 3 I think they produce the same output but I am not sure which program is better and why as well as how to draw a flow chart.
Finally, for question 4, I believe there's 21 items? I just need help with the flow chart and desk checking. Also have no idea for question 1.
I really am trying. Thanks.