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 program that will read in 5 numbers

Write a program that will read in 5 numbers and add 10 to the first number, 20 to the second number, and 30 to the third number, 40 to the fourth and 50 to the 50th.

  Display the array, the average and the number of days above

Write a program that stores the daily temperatures for the month of April in an array name dailytemp. Calculate the average temperature for the month and the count the number of days that the daily temperature was above the average.

  An expression whose value depends upon the evaluation

Give an example in C++ of an expression whose value depends upon the evaluation order. Show the orders that produce different values and the values they produce. Explain what side effect is the expression contains.

  C assignment of curl library

C Assignment Curl library must be used To be done on linux, it should be compiled using the following command: gcc -Wall -ansi -pedantic NameOfFile.c -lncurses Please make sure it is commented with clarification Variable names in camel case

  Change this code to read in strings from a text file

code takes in a string from a user, checks if the paranthesis are ballanced (as defined by my class) and also returns the variable from my line (also from my class). All like to change this code to read in strings from a text file (each line is a str..

  Write an abstract class carbon footprint

Using an abstract class with only pure virtual functions, create three small classes unrelated by inheritance---clases Building, Car and Bicycle.

  Make a class constructor that initializes a customer

Make a class constructor that initializes a customer with a name, number, and order size.Make class member functions to print each of: name, number, and order size.

  First display the smallest volume and then the largest volum

first display the smallest volume and then the largest volume.

  Write a program to accept a number representing

Write a program to accept a number representing how many first names the user willenter from the command line (5 names maximum), and the actual first names, fromthe command line. Create an array dynamically that has the same size as number ofnames.

  Write a function to arrange 10 numbers stored in an arraye

Writ a funtion to arrange 10 numbers stored in an array forom the largest to the smallest and pass the results to main program.

  Implement a class to represent a matrix

Implement a class to represent a matrix. While doing this exercise, you are allowed only to use C++ primitive types and arrays. You may not use STL in your Matrix definition. You must use dynamic memory.

  Write function to accept character array

Write down the C++ function which will accept the character array of at most 30 cells. Your function must return true if string and its reverse are identical;

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