Demonstrate how to write simple programs that get input from the user, produce output, perform calculations, and make simple decisions. Academic Essay

YOUR NAME: ______________________________________________________________________

INTRODUCTION: In this assignment, you will demonstrate how to write simple programs that get input from the user, produce output, perform calculations, and make simple decisions.
HOW TO SUBMIT YOUR ASSIGNMENT
At the top of each of your C++ programs, you should have at least four lines of documentation:
Program name (the C++ file name(s)), Author (your name), Date last updated, and Purpose (a brief description of what the program accomplishes). Here is an example:
# Program name: jstictactoe.cpp
# Author: John Smith
# Date last updated: 1/1/2014
# Purpose: Play the game of Tic-Tac-Toe

Your assignment will be graded according to the programming lab rubrics. Click on Resources, then Course Rubrics to view the rubrics

ASSIGNMENT:

1. Write a program that uses a structure named MovieData to store the following information about a movie:
• Title
• Genre
• Director
• Year Released
• Running time (in minutes)

Write a program that prompts the user for input and allows all of these member data values to be specified. The program should create two MovieData variables and display the information about the movie in a clearly formatted manner.

2. Write a program that uses a structure named CorpData to store the following information on a company division:
• Division name (such as East, West, North, or South)
• First quarter sales
• Second quarter sales
• Third quarter sales
• Fourth quarter sales

Write a program that allows the division name and four quarterly sales amounts to be specified. The program should create four CorpData variables, each representing one of the following corporate divisions: East, West, North, and South. These variables should be populated with appropriate data. The program should then display the data for each division along with their average quarterly sales and total year’s sales.
Guidelines
1. Use appropriate filenames for each exercise.
2. Any program that requires user input should be run a minimum of three times with varying test values.
3. Copy the Lab Assignment Document to your desktop
4. Take screenshots of each trial run for all programs and include them at the end of the lab assignment document.

To submit your assignment:
5. In Blackboard, go to the Class Session where this assignment is posted, Submit:
1. Your code file(s) (*.cpp)

2. The Lab Assignment document with the screen prints of your output copied to end of this document ( for this assignment you should have three screen shots for each program for a total of 6 screen shots

Is this question part of your Assignment?

We can help

Our aim is to help you get A+ grades on your Coursework.

We handle assignments in a multiplicity of subject areas including Admission Essays, General Essays, Case Studies, Coursework, Dissertations, Editing, Research Papers, and Research proposals

Header Button Label: Get Started NowGet Started Header Button Label: View writing samplesView writing samples