# Prg 410 Week 2 Assignment

Submitted By coursehomework
Words 589
Pages 3
PRG 410 WEEK 2 ASSIGNMENT

http://www.coursehomework.com/product/prg-410-week-2-assignment/

 +1 315-750-4434
 help@coursehomework.com
PRG 410 WEEK 2 ASSIGNMENT
C++ Programming I
PRG-410
Assignment # 1 & 2
Problem 01 (20 Marks)
(Basic Input Output, Arithmetic Operators)
Write a C++ program, which can calculate Slope of a line ‘m’, by using formula. Ask from user values of y, x and b. You program calculate and print value of m.
Problem 02 (50 Marks)
(Basic Input Output, Arithmetic Operators)
‘math.h’ is a library, which contains different mathematical functions like cos, sin, tan, raise to power. You have to write a program, which can calculate following functions. Every equation has left side and right side. Your program must calculate both sides of following equation.
Problem 03 (30 Marks)
(Basic I/O, Nested If/Else)
Design a calculator that performs 4 basic operations (add, subtract, divide and multiply). When your program executes, it should ask the user to enter a simple expression of the format;
Operand1 Operator Operand2
e.g: 3 + 5, 7 / 5, 8 * 9, 10 - 4
You should use the data type ‘int’ for operands and the data type ‘char’ for the operator symbol. Your program should check the value of character variable using selection statement (if/else) and perform the operation accordingly. If user inputs “+” in character variable, you will add two numbers and do same for rest of the operations.
The output of your program must appear as shown in Fig-1 below;
http://www.coursehomework.com/product/prg-410-week-2-assignment
Course Home Work aims to provide quality study notes and tutorials to the students of PRG 410 Week 2 Assignment in order to ace their studies.
Course Home Work - Best Home Work Tutorials

PRG 410 Week 2 Assignment
Course Home Work, PRG 410 Week 2 Assignment, Home Work…...

### Similar Documents

#### Week 2 Ilab Mgmt 410

...Exercise 1) On-shore wind turbines are installed in land-based applications, while off-shore wind turbines are installed over water. The best thing about offshore windmills is the wind tends to be much more consistent and strong, which helps predict payback period and shorten it, for the cost of the turbine. The bad thing about offshore is aesthetics, some people don’t like the looks of the ocean shoreline being filled with turbines. It is also difficult to get the power from the turbines and back to the land where the electricity can be used. It can also be difficult to maintain the windmills out at sea. Exercise 2) Geothermal heating and cooling is having another revival due to rising energy and oil costs. Geothermal heating uses the natural temperature of the ground at about 10 feet and below which averages about 68 degrees F. Trenches are dug or holes are drilled and plastic tubing is placed in them. The tubing is then filled with a circulating fluid, usually just water and heated to the temperature of the ground during circulation. The fluid then goes to a heat exchanger where the heat of the fluid is exchanged to the air, which in turn circulates through the house to warm it. On average, a geothermal heat pump saves about 7 out of ten energy units that would go into operating a standard heat pump. The main additional cost of adding a geothermal heat pump is in the installation of the tubing in the trenches or holes, which can be expensive because it requires special......

Words: 384 - Pages: 2

#### Prg 420 Prg420 Prg/420 Java Programming I - Week 2

...HELPIDO.COM --------------------------------------------------------------- FOLLOW THE LINK TO GET THE TUTORIAL http://helpido.com/prg-420-week-2/ ---------------------------------------------------------------- PRG 420 PRG420 PRG/420 Java Programming I - Week 2 ________________________________________ Java™ and Object-Oriented Programming Fundamentals Discussion Question : Three Types of Errors What are the three types of errors that you can encounter in a Java™ program? Describe them, and explain how you would minimize the errors. What are some examples of errors that you have seen before? Discussion Question : Blueprint for an Object A class is a blueprint for an object. A class may have a default constructor, a constructor with arguments, accessor methods, mutator methods, public fields, and private fields. Choose a category (such as animal, vehicle, and so on) and describe how you would design a class for it. Individual Simple Commission Calculation Program Part 1 Write a Java™ application using NetBeans™ Integrated Development Environment (IDE) that calculates the total annual compensation of a salesperson. Consider the following factors: • A salesperson will earn a fixed salary of \$50,000 • A salesperson will also receive a commission as a sales incentive. Commission is a percentage of the salesperson’s annual sales. The current commission is 5 % of total sales. • The total......

Words: 282 - Pages: 2

#### Cmgt 410 Week 2 Gantt Chart

...This document contains CMGT 410 Week 2 Gantt Chart General Questions - General General Questions CMGT/410 NEW UPDATED COURSE CMGT/410 Week 1 Individual Assignment Consider the following scenario: You have been hired by a large company with branch offices around the country to assist with rollout of a new companywide compliance system. While initially the focus was on implementation of the technology, it was found that success will require at least 10 hours of training for all managers across the country on both the use of the new platform as well as a host of new compliance policies being introduced. Of the options discussed, it was generally agreed than the training should be hands-on and conducted in person at a central location. This will obviously require getting organizational buy in as not all managers are going to be willing to commit to taking time out from their normal responsibilities just for some training. In addition, such large scale centralized training has not been done before by this company; therefore, the CEO wants feedback from participants to evaluate the effectiveness of any training sessions. As a result, your manager has given you the responsibility to develop an outline for a proposed project that would meet this upcoming need. Submit a 2- to 3-page memo that does the following: Names the project Briefly describes the project Identifies potential stakeholders directly or indirectly involved Specifies the...

Words: 363 - Pages: 2

#### Fin 410 Wk 2 Assignment 1

...FIN 410 WK 2 ASSIGNMENT 1 To purchase this visit here: http://www.activitymode.com/product/fin-410-wk-2-assignment-1/ Contact us at: SUPPORT@ACTIVITYMODE.COM FIN 410 WK 2 ASSIGNMENT 1 FIN 410 WK 2 Assignment 1 - Financial Organization Analysis Use the Internet to research one (1) of the following financial institutions: J.P. Morgan, Bank of America, or Citigroup. Gather information about the overall nature of their business, products or services it sells, key financial data, and its mission and vision statements. Write a two to three (2-3) page paper in which you: 1. Describe the business of the organization that you have chosen, indicating the financial services provided by the institution. 2. Develop and apply a Strengths, Weaknesses, Opportunities, Threats (SWOT) analysis of this organization. 3. Suggest ways that the institution could capitalize on its strengths and minimize its weakness. Provide support for your rationale. More Details hidden... Activity mode aims to provide quality study notes and tutorials to the students of FIN 410 WK 2 Assignment 1 in order to ace their studies. FIN 410 WK 2 ASSIGNMENT 1 To purchase this visit here: http://www.activitymode.com/product/fin-410-wk-2-assignment-1/ Contact us at: SUPPORT@ACTIVITYMODE.COM FIN 410 WK 2 ASSIGNMENT 1 FIN 410 WK 2 Assignment 1 - Financial Organization Analysis Use the Internet to research one (1) of the following financial institutions: J.P. Morgan, Bank of America, or...

Words: 541 - Pages: 3

#### Prg 410 Week 3 Assignment

...PRG 410 WEEK 3 ASSIGNMENT To purchase this Click here: HTTP://WWW.ACTIVITYMODE.COM/PRODUCT/PRG-410-WEEK-3-ASSIGNMENT/ Contact us at: SUPPORT@ACTIVITYMODE.COM PRG 410 WEEK 3 ASSIGNMENT C++ Programming I PRG-410 Assignment#3 Problem 1: [marks 20] Write a program that implements simple game scenario. Game has two-player or a three-player MODE. For each MODE you have to choose among four HEROs. These are ALPHA, BRAVO, CHALIE and DELTA. You have to design and implement proper notation for each MODE and implement them accordingly using appropriate conditions e.g., First player is selecting ALPHA then Second Player can’t select ALPHA. Against each MODE ask five values for each player if: • Ask input range is between (1-100) player will win with 10 points for one value. • Ask input range is between (101-200) player will win with 20 points for one value. • Ask input range is between (201-500) player will win with 50 points for one value. Add all five values for HERO/HEROs and printout the winner of the game. Problem 2: Rock, Paper, Scissors Game [marks 20] Write a program that lets the user play the game of Rock, Paper, and Scissors against the computer. The program should work as follows. 1. When the program begins, a random number in the range of 1 through 3 is generated. If the number is 1, then the computer has chosen rock. If the number is 2, then the computer has chosen paper. If the number is 3, then the computer has chosen scissors. (Don’t...

Words: 1205 - Pages: 5

#### Prg 410 Week 6 Assignment

...PRG 410 WEEK 6 ASSIGNMENT To purchase this Click here: HTTP://WWW.ACTIVITYMODE.COM/PRODUCT/PRG-410-WEEK-6-ASSIGNMENT/ Contact us at: SUPPORT@ACTIVITYMODE.COM PRG 410 WEEK 6 ASSIGNMENT UOP C++ Programming I PRG-410 Assignment#6 Problem-1: Write a program in C++ in which take input of numbers in an array and then sort the numbers in ascending order. At the end print the sorted array. Problem-2: Write a program in C++ in which take input of strings in an array and then print output of strings. Problem-3: Write a program in C++ in which take input of numbers in an array and then print the maximum number in the array. Problem-4: Write a program in C++ in which take input of numbers in 2D array in the form of matrix and then find the transpose of matrix. At the end show the output in matrix form. PRG 410 WEEK 6 ASSIGNMENT To purchase this Click here: HTTP://WWW.ACTIVITYMODE.COM/PRODUCT/PRG-410-WEEK-6-ASSIGNMENT/ Contact us at: SUPPORT@ACTIVITYMODE.COM PRG 410 WEEK 6 ASSIGNMENT UOP C++ Programming I PRG-410 Assignment#6 Problem-1: Write a program in C++ in which take input of numbers in an array and then sort the numbers in ascending order. At the end print the sorted array. Problem-2: Write a program in C++ in which take input of strings in an array and then print output of strings. Problem-3: Write a program in C++ in which take input of numbers in an array and then print the maximum number in the array. Problem-4: Write a program in...

Words: 463 - Pages: 2

#### Prg 410 Week 5 Assignment

...PRG 410 WEEK 5 ASSIGNMENT To purchase this Click here: http://www.activitymode.com/product/prg-410-week-5-assignment/ Contact us at: SUPPORT@ACTIVITYMODE.COM PRG 410 WEEK 5 ASSIGNMENT UOP C++ Programming I PRG-410 ASSIGNMENT # 4 Problem 1: Write a program that asks the user to enter a number within the range of 1 through 10. Use a switch statement to display the Roman numeral version of that number. Input Validation: Do not accept a number l Problem 2: A bank charges \$10 per month plus the following check fees for a commercial checking account: \$.10 each for fewer than 20 checks \$.08 each for 20-39 checks \$.06 each for 40-59 checks \$.04 each for 60 or more checks The bank also charges an extra \$15 if the balance of the account falls below \$400 (before any check fees are applied). Write a program that asks for the beginning balance and the number of checks written. Compute and display the bank’s service fees for the month. Input Validation: Do not accept a negative value for the number of checks written. If a negative value is given for the beginning balance, display an urgent message indicating the account is overdrawn. Problem 3: Write a program that asks the user for a positive integer value. The program should use a for loop to get the sum of all the integers from 1 up to the number entered. For example, if the user enters 50, the loop will compute the sum of 1, 2, 3, 4, ... 50. Input Validation: Do not accept a negative starting number. Write...

Words: 3528 - Pages: 15

#### Prg 410 Week 7 Assignment

...PRG 410 WEEK 7 ASSIGNMENT To purchase this Click here: http://www.activitymode.com/product/prg-410-week-7-assignment/ Contact us at: SUPPORT@ACTIVITYMODE.COM PRG 410 WEEK 7 ASSIGNMENT UOP C++ Programming I PRG-410 ASSIGNMENT # 5 Problem 1: Write a program that reads a base ten integer number as input and outputs the binary representation of that number. e.g. 29 must give as output Problem 2: Write a program that populates an array elements. Total number of permutations of a list of 'n' elements is n! (n factorial), so in this case total number of permutations will be 120. If input array = [17, 22, 14, 13], its all permutat Problem 3: Write a program to display all possible permutations of the digits of a given input integer. i.e. if an input integer is 432, then it has three digits 4, 3 and 2 and number of possible permutations is 6 (= 3! ). These permutations are 4 3 2 4 2 3 3 2 4 3 4 2 2 3 4 2 4 3 You may assume that the number < 10000. Activity Mode aims to provide quality study notes and tutorials to the students of PRG 410 Week 7 Assignment in order to ace their studies. PRG 410 Week 7 Assignment Activity Mode , PRG 410 Week 7 Assignment, Home Work Tutorials, Home Work Solutions, Home Work Essay, Home Work Questions.ACC 565 Wk 7 Assignment 3, ACC403 week 2 assignment, ACC565 Week 10, ACCT 212 (Financial Accounting), ACCT 344 (Entire Course) - Devry, ACCT 344 Final Exam Latest 2014 - Devry, ACCT 346 (Managerial Accounting), ACCT 346...

Words: 918 - Pages: 4

#### Prg 410 Week 2 Assignment

...PRG 410 WEEK 2 ASSIGNMENT To purchase this Click here: http://www.activitymode.com/product/prg-410-week-2-assignment/ Contact us at: SUPPORT@ACTIVITYMODE.COM PRG 410 WEEK 2 ASSIGNMENT C++ Programming I PRG-410 Assignment # 1 & 2 Problem 01 (20 Marks) (Basic Input Output, Arithmetic Operators) Write a C++ program, which can calculate Slope of a line ‘m’, by using formula. Ask from user values of y, x and b. You program calculate and print value of m. Problem 02 (50 Marks) (Basic Input Output, Arithmetic Operators) ‘math.h’ is a library, which contains different mathematical functions like cos, sin, tan, raise to power. You have to write a program, which can calculate following functions. Every equation has left side and right side. Your program must calculate both sides of following equation. Problem 03 (30 Marks) (Basic I/O, Nested If/Else) Design a calculator that performs 4 basic operations (add, subtract, divide and multiply). When your program executes, it should ask the user to enter a simple expression of the format; Operand1 Operator Operand2 e.g: 3 + 5, 7 / 5, 8 * 9, 10 - 4 You should use the data type ‘int’ for operands and the data type ‘char’ for the operator symbol. Your program should check the value of character variable using selection statement (if/else) and perform the operation accordingly. If user inputs “+” in character variable, you will add two numbers and do same for rest of the operations. The output of your program must...

Words: 1012 - Pages: 5

#### Acc 410 Week 2 Assignment Analytical Procedures

...ACC 410 WEEK 2 ASSIGNMENT ANALYTICAL PROCEDURES To purchase this visit here: http://www.nerdypupil.com/product/acc-410-week-2-assignment-analytical-procedures/ Contact us at: nerdypupil@gmail.com ACC 410 WEEK 2 ASSIGNMENT ANALYTICAL PROCEDURES Analytical Procedures. In a 2-3 page paper, complete the case below and submit to instructor. Review the income statement for Uden Supply Company and answer the following: a. Describe the purpose of analytical procedures performed in the planning stage of the audit. b. Uden Supply has projected its 2004 gross profit at 31% of sales despite expectation for some shrinkage in margins. On the basis of Uden’s operating performance in years 2001 – 2003 project your best guess for 2004. Project 2004 based on the incremental changes for each line item over the last three years. c. Uden’s unaudited financial statements for the current year show a 31 percent gross profit rate. Assuming that this represents a misstatement from the amount that you developed as an expectation, calculate the estimated effect of this misstatement on net income before taxes for 20X4. d. Indicate whether you believe that the difference calculated in part (c) is material. Explainyouranswer. (50-100 words). Comparative income statement information for Uden Supply Company is presented in the accompanying table. UDEN SUPPLY COMPANY ComparativeIncomeStatement Years Ended December 20X1, 20X2, and 20X3 (Thousands) 20X1 Audited 20X2 Audited 20X3 Audited 20X4...

Words: 1361 - Pages: 6

#### Week 10 Fin 410 Assignment 4

...WEEK 10 FIN 410 ASSIGNMENT 4 To purchase this tutorial visit here: http://mindsblow.us/question_des/WEEK10FIN410ASSIGNMENT4/1679 contact us at: help@mindblows.us WEEK 10 FIN 410 ASSIGNMENT 4 Managing a Bank’s Sources and Uses of Funds Use the same large bank you selected in Assignment 3. Use the Internet to research loan types that the bank offers, nontraditional banking products that the bank offers, and its loan policies. Write a six to eight (6-8) page paper in which you: 1. Provide an overview of the principal types of deposits offered by this bank, indicating the competitiveness of these offerings. 2. Analyze how the bank manages its non-deposit liabilities. Focus on the options that are open for investors and what the bank does with its customers’ funds. 3. Recommend improvements needed for more effective management. Provide support for your recommendations. 4. Analyze the principal types of investment banking, insurance, and other nontraditional banking products offered by this bank, indicating the competitiveness of these offerings. WEEK 10 FIN 410 ASSIGNMENT 4 To purchase this tutorial visit here: http://mindsblow.us/question_des/WEEK10FIN410ASSIGNMENT4/1679 contact us at: help@mindblows.us WEEK 10 FIN 410 ASSIGNMENT 4 Managing a Bank’s Sources and Uses of Funds Use the same large bank you selected in Assignment 3. Use the Internet to research loan types that the bank offers, nontraditional banking products that the bank offers, and its...

Words: 1827 - Pages: 8

#### Acc 410 Week 2 Assignment Analytical Procedures

...ACC 410 Week 2 Assignment Analytical Procedures To Buy This material Click below link http://www.uoptutors.com/acc-410-ash/acc-410-week-2-assignment-analytical-procedures Analytical Procedures. In a 2-3 page paper, complete the case below and submit to instructor. Review the income statement for Uden Supply Company and answer the following: a. Describe the purpose of analytical procedures performed in the planning stage of the audit. b. Uden Supply has projected its 2004 gross profit at 31% of sales despite expectation for some shrinkage in margins. On the basis of Uden’s operating performance in years 2001 – 2003 project your best guess for 2004. Project 2004 based on the incremental changes for each line item over the last three years. c. Uden’s unaudited financial statements for the current year show a 31 percent gross profit rate. Assuming that this represents a misstatement from the amount that you developed as an expectation, calculate the estimated effect of this misstatement on net income before taxes for 20X4. d. Indicate whether you believe that the difference calculated in part (c) is material. Explainyouranswer. (50-100 words). Comparative income statement information for Uden Supply Company is presented in the accompanying table. UDEN SUPPLY COMPANY ComparativeIncomeStatement Years Ended December 20X1, 20X2, and 20X3 (Thousands) 20X1 Audited 20X2 Audited 20X3 Audited 20X4 Expected Sales 8,700 9,400 10,100 Costofgoodssold 6,000 6,500......

Words: 311 - Pages: 2

#### Proj 410 Week 2 Dq 2

...PROJ 410 Week 2 DQ 2 To Buy This material Click below link http://www.uoptutors.com/proj-410/proj-410-week-2-dq-2 What are the differences among a fixed-price contract, a time-and-materials contract, and a reimbursable contract in terms of how well defined a contract needs to be relative to price, scope, and schedule prior to the commencement of any work? How much control over the project scope, price, and schedule should the contractor have under each contract type? How difficult is it to handle out-of-scope work with the 3 contract types (fixed price, time and materials, reimbursable) after an agreement has been executed? What do you see as the more common mistakes made by customers/clients or their procurement representatives as it relates to project planning and contract formulation? Now that you know the differences among a fixed price contract, a time and materials contract, and a reimbursable contract, let’s discuss some of the finer points to consider. Do you think a fixed price contract requires less management attention than a reimbursable contract? Why or why not? We typically hear of clients looking for the lowest price, and rarely does the term value come into the picture? Is it assumed that the value is there and is that a fair assumption most of the time? How do you differentiate a project plan from the project definition? To continue with the relevance of the project definition and project plan (schedule) to contracts: what components of the project......

Words: 363 - Pages: 2

#### Proj 410 Week 3 Dq 2

...PROJ 410 Week 3 DQ 2 To Buy This material Click below link http://www.uoptutors.com/proj-410/proj-410-week-3-dq-2 It is very common to find buyers who fail to identify the RFP evaluation criteria during the project procurement planning process, and in fact, do not define the evaluation criteria until after proposals have been received and the evaluation process is set to begin. What do you think is the risk of waiting until bids have been received to establish the evaluation criteria to be used to select a preferred contractor? Besides evaluating the risk of waiting until bids are submitted, also consider the question from the potential vendors’ point of view. Should vendors be aware of the evaluation criteria during the procurement phase, or after they have submitted their proposals/bids? Finding buyers that fail to identify the RFP evaluation criteria during the project procurement planning process would hurt schedule and scope. Besides, if you get the proposals and read them before you create evaluation criteria, you run the risk of consciously or subconsciously creating evaluation criteria based on what you’ve read which could create a bias towards one of the proposals. Finally, without having your criteria set ahead of time, there is a high risk of setting yourself up with a bias opinion on proposals and not having an even playing field for others that come in. Qualifications are important, but so are the fees. So many companies are focused on savings, how could...

Words: 446 - Pages: 2

#### Acc 410 Week 5 Assignment

...1. In auditing the long-term investments account, an auditor is unable to obtain audited financial statements for an investee located in a foreign country. The auditor concludes that sufficient appropriate audit evidence regarding this investment cannot be obtained. In this situation, where the auditor cannot obtain financial statements for an investee, it would represent a scope of limitation for the auditor. F, Either a disclaimer of opinion or an "except for" qualified opinion would be used, or the auditor would have the option to use a disclaimer. The auditor would use the report modification M, which would describe the circumstances in an explanatory paragraph following the opinion paragraph, and modify the scope and opinion paragraphs. 2. Due to recurring operating losses and working capital deficiencies, an auditor has substantial doubt about an entity’s ability to continue as a going concern for a reasonable period of time. However, the financial statement disclosures concerning these matters are adequate. In this situation, where the auditor has a substantial doubt about an entity’s ability to continue as a going concern for a reasonable period of time would lead to B, an unqualified opinion. The auditor would use report modification I, Describe the circumstances in an explanatory paragraph following the opinion paragraph without modifying the three standard paragraphs. 3. A principal auditor decides to take responsibility for the work of another CPA who...

Words: 645 - Pages: 3