SlideShare a Scribd company logo
1 of 1
Now, it's time to make some decisions.
This is a little more complicated. Simply put, the program asks
the user to enter two scores storing them into variables,
averages them, and then prints the scores and the average to the
screen. It also calculates whether the user's average score is
passing of failing. For our purposes, a 65 is passing. Let's first
look at the flowchart for this program.
The flowchart:
The code:
The output:
Type the code up above into your Dev C++ compiler. Then
compile and run.
Upload your .c file and a screen shot of your code output saved
in a Word document including the
path name directory
at the top of the screen into the dropbox for grading

More Related Content

More from tangelae6x

Now that you have been introduced to the broad framework of beco
Now that you have been introduced to the broad framework of becoNow that you have been introduced to the broad framework of beco
Now that you have been introduced to the broad framework of beco
tangelae6x
 
Now that we know the stages of critical thinking and have a bett
Now that we know the stages of critical thinking and have a bettNow that we know the stages of critical thinking and have a bett
Now that we know the stages of critical thinking and have a bett
tangelae6x
 
November-December 2013 • Vol. 22No. 6 359Beverly Waller D
November-December 2013 • Vol. 22No. 6 359Beverly Waller DNovember-December 2013 • Vol. 22No. 6 359Beverly Waller D
November-December 2013 • Vol. 22No. 6 359Beverly Waller D
tangelae6x
 
NotesAssignment 1 Dealing with Diversity in America from R
NotesAssignment 1 Dealing with Diversity in America from RNotesAssignment 1 Dealing with Diversity in America from R
NotesAssignment 1 Dealing with Diversity in America from R
tangelae6x
 
NOTES TO CONSOLIDATED FINANCIAL STATEMENTS — (Continued)
NOTES TO CONSOLIDATED FINANCIAL STATEMENTS — (Continued)NOTES TO CONSOLIDATED FINANCIAL STATEMENTS — (Continued)
NOTES TO CONSOLIDATED FINANCIAL STATEMENTS — (Continued)
tangelae6x
 
NoteTo access this week’s required library resources, pleas
NoteTo access this week’s required library resources, pleasNoteTo access this week’s required library resources, pleas
NoteTo access this week’s required library resources, pleas
tangelae6x
 
NOTEAll submitted work is to be your original work. You may
NOTEAll submitted work is to be your original work. You mayNOTEAll submitted work is to be your original work. You may
NOTEAll submitted work is to be your original work. You may
tangelae6x
 

More from tangelae6x (20)

Nowadays, marketing managers add a second T to the analysis, whi
Nowadays, marketing managers add a second T to the analysis, whiNowadays, marketing managers add a second T to the analysis, whi
Nowadays, marketing managers add a second T to the analysis, whi
 
Now that you reviewed the preparedness and mitigation strategies
Now that you reviewed the preparedness and mitigation strategiesNow that you reviewed the preparedness and mitigation strategies
Now that you reviewed the preparedness and mitigation strategies
 
nstructionsNo discussion of psychosocial development in mid
nstructionsNo discussion of psychosocial development in midnstructionsNo discussion of psychosocial development in mid
nstructionsNo discussion of psychosocial development in mid
 
Now that you have reached the end of class, reflect on the past 15
Now that you have reached the end of class, reflect on the past 15Now that you have reached the end of class, reflect on the past 15
Now that you have reached the end of class, reflect on the past 15
 
Now that you have been introduced to the broad framework of beco
Now that you have been introduced to the broad framework of becoNow that you have been introduced to the broad framework of beco
Now that you have been introduced to the broad framework of beco
 
Now that we know the stages of critical thinking and have a bett
Now that we know the stages of critical thinking and have a bettNow that we know the stages of critical thinking and have a bett
Now that we know the stages of critical thinking and have a bett
 
Now that you have completed a series of assignments that have led yo
Now that you have completed a series of assignments that have led yoNow that you have completed a series of assignments that have led yo
Now that you have completed a series of assignments that have led yo
 
Now that you have completed a series of assignments that have le
Now that you have completed a series of assignments that have leNow that you have completed a series of assignments that have le
Now that you have completed a series of assignments that have le
 
Now that digital publishing is so accessible to everyone, how should
Now that digital publishing is so accessible to everyone, how shouldNow that digital publishing is so accessible to everyone, how should
Now that digital publishing is so accessible to everyone, how should
 
November-December 2013 • Vol. 22No. 6 359Beverly Waller D
November-December 2013 • Vol. 22No. 6 359Beverly Waller DNovember-December 2013 • Vol. 22No. 6 359Beverly Waller D
November-December 2013 • Vol. 22No. 6 359Beverly Waller D
 
Now imagine youve been asked to host a leadership workshop for your
Now imagine youve been asked to host a leadership workshop for yourNow imagine youve been asked to host a leadership workshop for your
Now imagine youve been asked to host a leadership workshop for your
 
Nothing extensive just answer questions....Develop a Work Breakdown
Nothing extensive just answer questions....Develop a Work Breakdown Nothing extensive just answer questions....Develop a Work Breakdown
Nothing extensive just answer questions....Develop a Work Breakdown
 
Notes on Readings for Review #4The readings in this section are
Notes on Readings for Review #4The readings in this section areNotes on Readings for Review #4The readings in this section are
Notes on Readings for Review #4The readings in this section are
 
NotesAssignment 1 Dealing with Diversity in America from R
NotesAssignment 1 Dealing with Diversity in America from RNotesAssignment 1 Dealing with Diversity in America from R
NotesAssignment 1 Dealing with Diversity in America from R
 
NOTES TO CONSOLIDATED FINANCIAL STATEMENTS — (Continued)
NOTES TO CONSOLIDATED FINANCIAL STATEMENTS — (Continued)NOTES TO CONSOLIDATED FINANCIAL STATEMENTS — (Continued)
NOTES TO CONSOLIDATED FINANCIAL STATEMENTS — (Continued)
 
NoteTo access this week’s required library resources, pleas
NoteTo access this week’s required library resources, pleasNoteTo access this week’s required library resources, pleas
NoteTo access this week’s required library resources, pleas
 
NOTEAll submitted work is to be your original work. You may
NOTEAll submitted work is to be your original work. You mayNOTEAll submitted work is to be your original work. You may
NOTEAll submitted work is to be your original work. You may
 
Note   5 slides without reference and front pageNetworking
Note   5 slides without reference and front pageNetworking Note   5 slides without reference and front pageNetworking
Note   5 slides without reference and front pageNetworking
 
NOTE- PhD candidates should provide an authentic personal statement
NOTE- PhD candidates should provide an authentic personal statementNOTE- PhD candidates should provide an authentic personal statement
NOTE- PhD candidates should provide an authentic personal statement
 
Note total 6 slides without including references with APA and witho
Note total 6 slides without including references with APA and withoNote total 6 slides without including references with APA and witho
Note total 6 slides without including references with APA and witho
 

Now, its time to make some decisions. This is a little more com

  • 1. Now, it's time to make some decisions. This is a little more complicated. Simply put, the program asks the user to enter two scores storing them into variables, averages them, and then prints the scores and the average to the screen. It also calculates whether the user's average score is passing of failing. For our purposes, a 65 is passing. Let's first look at the flowchart for this program. The flowchart: The code: The output: Type the code up above into your Dev C++ compiler. Then compile and run. Upload your .c file and a screen shot of your code output saved in a Word document including the path name directory at the top of the screen into the dropbox for grading