Thursday, 21 May 2015

PRG 410 Week 2 Assignment

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;


Click Here to Buy this;


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


Home Work CIS 312 Complete Class All Assignments

PRG 410 Week 2 Assignment


Course Home Work, PRG 410 Week 2 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 Midterm Exam Updated DeVry, ACCT 504, ACCT 504 Week 8, ACCT 553, ART 101 Week 8, Ashford BUS 401, ASHFORD BUS 640, Ashford HIS 204, ASHFORD MAT 222 Week 3, BA 215 (Business Statistics), BA 215 All Assignments Week 1 -8 - Grantham, BA 225, BA 260, BA 265 (Business Law II), BA 265 (Business Law II) FINAL EXAM, BA 340 All Course Assignments, BA 340 Human Resource, BA 370 (Employment Law), BA 405 Multinational Management, BA 470 Week 3 - 5 - 6 - 7, BA 470 Entrepreneurship, BA350 Principles Of Finance, BIS 155 Final Exam - DeVry, BIS 220 Final Exam, BSOP 429, BSOP 434 Entire Course - Devry, BUS 303 Week 2, BUS 303 Week 3, BUS 303 Week 5, BUS 311 Business Law, BUS 330 Week 1, BUS 330 Week 3, BUS 330 Week 5, BUS 401 Week 4 DQ 1, BUS 401 Week 4 DQ 2, BUS 402 WEEK 4, BUS 405 (Principles of Investment), BUS 475, BUS 475 Final Exam 100 MCQS, BUS 475 Final Exam 600 MCQS, BUS 599 (STRAYER), BUS 599 Assignment, BUS 620 Week 4, BUS 640 Week 1, BUS499 Asignment 4, BUS508 Asignment 1, BUS499 Assignment 3


Course Home Work is a not for profit organization that aims to provide quality study notes to the students in order to ace their studies.


For more courses visit


http://www.coursehomework.com


 


 



PRG 410 Week 2 Assignment

No comments:

Post a Comment