The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 3 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
COP 1000C Intro to Programing ConceptsÂ
see document attached for instructions
Â
Â
COP 1000C Intro Programming Concepts
IWatch Video Lecture Segment 10 (DR Colin Archibald ) Mixed Type Expressions. Near the end
of Segment 10 there are some practice exercises. This is Slide 10.7. Try them with a pencil. Then
write a C program to verify your answers.
Watch Video Lecture Segment: 11 Problem Solving with Repetition. There are 3 problems
solved. Test Scores, Gas Mileage, and Factorials. Type along with the video, pausing where
necessary. Get each of these programs to work. Walk through the code in the debugger.
3- Include the use of ++, += in a program that achieves the following using loops. (You can do
these in one program or each one in a small program, it doesn’t matter)
A- Create a loop that will output all the multiples of 5 that are greater than zero and less than 60
(do not include 60). 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55
B- Create a loop that will output all the numbers less than 200 that are evenly divisible by both 2
and 7. 14 28 … C. Create a loop that will calculate the sum of the multiples of 8 that are between
100 and 500. Output the sum only. D. Create a loop that will output the sum of all odd numbers
between 20 and 100. IIYou are to write a program that will allow a user to enter infinite numbers (one number at a time
and all numbers are greater than zero). You must have a way for the user to stop entering values.
Once the user stops, you will immediately display the following: The lowest number was: The highest number was: The number of values entered was: The average of the numbers was:
Deliverables:
1. An IPO or Flowchart for the problem. 2. A test case sheet that shows 3 sets of input data, and the expected results of running the
program for each set of input data.
3. Write the code (with appropriate comments) that solves the problem – paste it into the Word
doc
4. Screen shots of running the program 3 different times. Use each of the test cases that you have
created. Submit everything in a Word document