C++ Programming

Site Stats
APCS schedule | APCS LogIn | APCS Forms | APCS Resources | APCS Archive | APCS Stuff
Java schedule | Java LogIn | Java Forms | Java Resources | Java Archive | Java Stuff
Adven schedule | Adven LogIn | Adven Forms | Adven Resources | Adven Archive | Adven Stuff
Stats schedule | Stats LogIn | Stats Forms | Stats Resources | Stats Archive | Stats Stuff

C++ Program 122d - for

  Updated : March 11, 2009 8:58 AM

Program 122d-for loop
(poly wants a chart)

 

Program Description:  Given the following 6th degree polynomial:

Write a program that will produce a chart value for y of all integers between a stating point and an ending point.

 Required statements:  input, output, for loop control

Sample Run:

Where would you like to start : -12
Where would like to end : 12
-12  1.89728e+006
-11  982800
-10  453600
-9   173888
-8   45360
-7   0
-6   -6400
-5   0
-4   6048
-3   7280
-2   4320
-1   0
0    -2800
1    -2592
2    0
3    2240
4    0
5    -10800
6    -32032
7    -60480
8    -84240
9    -78400
10   0
11   217728
12   671840
Press any key to continue

	  

 

 

  

 

Ala All Als Be Da D'Ar K Co K Cu
Ki Lo My Sa Sc Vi
Not Listed


Last Name :

Email :

Select one of the following that describes when and why you are filling out this form:
This assignment is in on time.
This assignment is in on time, being resubmitted due to a failed submission (I have a copy of the original submission).
This assignment is a corrected submission for half the missed credit.
This assignment is one day late and will lose 15%.
This assignment is more than one day late (half credit at best).
This assignment is late because of an EXCUSED absence.
This assignment is being resubmitted at the request of the teacher.


code

 

Updated: Monday, September 20, 2010 2:41 PM

 

 

 

About | Site Map | Contact | Search | ©2005 brentwoodhigh.com