Create a program, using at least one for loop

Assignment Help C/C++ Programming
Reference no: EM13168490

Create a program, using at least one For loop, that displays the Sales Amounts made in each of 4 regions (North, South, East, and West) during a three month period.  The program should allow the user to enter 4 sets (one set for each region) of three sales amounts (one sales amount for each month).  The program should display each regions total sales for the three month period, and the companies total sales for the three month period.  Example data:

North - 2000, 4000, 3000

South - 2000, 5000, 5000

East - 3000, 2000, 1000

West  - 4000, 1000, 6000

 

 

Reference no: EM13168490

Questions Cloud

Write a join query that for every order placed on september : Write a join query that for every order placed on September 5, 1998, (use '05-SEP-1998') will list the order number and order date along with the customer number, last name, and first name of the customer who placed the order
Explain how many moles of i3-are produced : How many moles of I3-are produced if 25.00 mL of 0.0200 M KIO3 is mixed with 3.00 grams
Write the balanced molecular equation : A chemist dissolves 0.9 g of an unknown monoprotic (one acidic H) acid in water. She finds that 14.6 mL of 0.426 M NaOH are required to neutralize the acid.
Explain ethanol and 3m sodium hydroxide : When you combine 2-ethoxybenzaldehyde and 4-heptanone what is the product and structure of that product. With 95% ethanol and 3M sodium hydroxide
Create a program, using at least one for loop : Create a program, using at least one For loop, that displays the Sales Amounts made in each of 4 regions (North, South, East, and West) during a three month period.
Assume that the variables gpa , deanslist and studentname : Assume that the variables gpa , deansList and studentName , have been initialized. Write a statement that adds 1 to deansList and prints studentName to standard out if gpa exceeds 3.5.
Determine the mass of silver found in the ring : let's pretend a certain sterling silver ring has a mass of 31.25g. silver has 93%. determine the mass of silver found in the ring.
Determine types of hybridized orbital for each carbon : Determine types of hybridized orbital for each carbon in these compounds.
Arithmetic progression is a sequence of numbers : An arithmetic progression is a sequence of numbers in which the distance (or difference) between any two successive numbers if the same.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Write a scanf statement to read in one number (int

1) Write a scanf statement to read in one number (int), and another statement to print out that number.

  Computer programming techniques

Construct a program from a design and use appropriate functions

  Write a program to determine how long (sec.)

Using the v 2  form of drag, write a program to determine how long (sec.) and how far (m) a 150 gram ball whose radius is 3.5cm would fall before it reached 75% of its terminal velocity. Assume ball falls in air whose density is 1.21 kg/m 3 , has a d..

  Create an array of objects from the provided code

Create an array of objects from the provided code and run a for loop to assign strings and numbers. In this assignment, I will need to see the main function. Make sure there is a default constructor.

  To use a sentinel loop so once the value of -99 i

modify this program to use a sentinal loop so once the value of -99 is entered after getting the pay and hours the program should end.

  Write program to read from file to find number of integers

Write down the program which reads from file numbers.txt 30 integers in range 0 - 200. Program ‎then determines number of integers in each of given ranges.

  Structured programming using procedural languages

A a program that is called "Playing with Numbers or Letters".

  Write program that stores the numbers in array

Write a c++ program that stores the following numbers in the array named miles: 15,22,16,18,27,23, and 20. have your program copy the data stored in miles to another array.

  Reverses all the element of an array

Write a function that reverses all the element of an array.that is,the first element is exchanged with the last element; the second element is exchange with the second to the last element,and so on

  Before each sort, write psudo-code

Ceate a single cpp ?le (FILE=MAIN2.cpp) containing all three elementry sorts(bubble, insertion, selection). Before each sort, write psudo-code and invarient analysis of the sort in block comment style. Add the code from 3.). Generate a list of 100..

  Difference between a constant pointer

Explain the difference between a constant pointer to non-constant data and a non-constant pointer to constant data. Show the syntax to declare them.

  Our string class always deletes the old character

Our String class always deletes the old character buffer and reallocates a new character buffer on assignment or in the copy constructor. This need not be done if the new value is smaller than the current value

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd