Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

coding with C++ using microsoft visual studio You need to prepare submit Canvas (in your lab section as LastName FirstName Labxy.doc. It must contain: and

coding with C++ using microsoft visual studio image text in transcribed
image text in transcribed
You need to prepare submit Canvas (in your lab section as LastName FirstName Labxy.doc. It must contain: and submit ONE SINGLE MS Word document to Your NAME only on page 1 For each question: o Specify the question number. o Source code. Copy/Paste your final source code. You must include standard "comment header" even if code is provided. Do Not paste a snippet of your source code, it must be copy/pasted. o Initial test plan. After reading the question requirements, but before beginning any coding, create the test case table, below, completed through column Expected Output. Include in your report o Final test plan. Write your program then complete the test table with actual output results and include in your report AFTER your source code o Output results Paste in a snippet of output showing results for every listed test case in your final test plan, labeled with test case # Test Table: Test # Valid / Invalid Data Description of test Input Value Expected Output Actual Output Test Pass / Fail o Add /delete rows from Test Table as necessary o Modify column widths as necessary o Test both valid and invalid input o Test for every output expected o If failure is an ex t and it happens then that test ou Passes o Any test that fails means the program must be fixed so that it passes the test o Failing tests need a new test row, ie la, 1b, etc, showing corrections from original You are to write a program to compute the weekly pay for a worker including any applicable overtime. Overtime refers to hours worked per week in excess of 40 hours. Companies pay regular pay up to and including 40 hours per week and time-and-a-half only for hours over 40 (overtime Input: The number of hours worked in 1 week (a double) The amount of pay per hour (a double) Output: The total pay for the week. Sample input/user entries shown in red Corresponding output Enter the hours worked and the payGross pay for the week is $300 rate: 30.0 10.0 Enter the hours worked and the payGross pay for the week is $550 rate: 50.0 10.0

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Temporal Databases Research And Practice Lncs 1399

Authors: Opher Etzion ,Sushil Jajodia ,Suryanarayana Sripada

1st Edition

3540645195, 978-3540645191

Students also viewed these Databases questions