Ask C/C++ Expert


Home >> C/C++

1) You need a language compiler to write a program for example C++ compiler. What is a language compiler and how would you download it. Answer the question and paste your snapshot(s) as evidence.

2) How would you activate (start) the compiler and make a new file? Answer the question and paste your snapshot(s) as evidence

3) Write the simplest possible program (maximum 8 lines of code) which displays only your payroll's company name- which includes your name. Make sure your program is not completely correct. Answer the question and paste your snapshot(s) as evidence

4) How would you compile your simplest payroll program? Answer the question and paste your snapshot(s) as evidence.

5) How would you fix the syntax errors and add the necessary steps so that there would not be any syntax errors. At the end of trial and error, your program should include the followings that makes the basic block of any C++ program:

#include
using namespace std;
main(){
cout<<" .."<system ("pause");
return 0;}

Answer the question and paste your snapshot(s) as evidence

6) How would you run the program and view the display-output (after the successful compilation).

7) What is the C++ statement responsible for the output display and add the new display statement to the existing program requesting "ENTER EMPLOYEE ID". Compile and run your program.

8) What is the statement that accepts (grabs) the input from the user ( input entry)? Add the variable names (hw, hr ) and declare it appropriately (int and float). Compile and run.

Add other cout and cin to your program. Compile and run and get

9) Add the operation to compute the grosspay and display all the previous information (data) and the grosspay.
Make sure to declare a variable name for the grosspay with appropriate data type. Compile and run.

10) Loop the existing program for as many duration as possible for example infinite loop (forever)

11) How do you add a decision to your program to compute the taxrate?

12) How do you create a data file instead of typing it interactively?

13) How would crash your program

14) How would you make a logical error

15) Show me the 10 keywords of C++

16) How would run your program with whatever data you have

17) Extend your program to solve more problems such as adding overtime or fix your tax rate in better way.

18) How to make a Search program for the payroll which becomes for anything else (search engine building block)

19) what are the programming mysteries?

20) Change the program to do something else by simply changing the names and the operations.

C/C++, Programming

  • Category:- C/C++
  • Reference No.:- M91336250
  • Price:- $50

Guranteed 36 Hours Delivery, In Price:- $50

Have any Question?


Related Questions in C/C++

Question 1find the minimum and maximum of a list of numbers

Question: 1. Find the Minimum and Maximum of a List of Numbers: 10 points File: find_min_max.cpp Write a program that reads some number of integers from the user and finds the minimum and maximum numbers in this list. Th ...

Software development fundamentals assignment 1 -details amp

Software Development Fundamentals Assignment 1 - Details & Problems - In this assignment, you are required to answer the short questions, identify error in the code, give output of the code and develop three C# Console P ...

What are the legal requirements with which websites must

What are the legal requirements with which websites must comply in order to meet the needs of persons with disabilities? Why is maximizing accessibility important to everyone?

There are several ways to calculate the pulse width of a

There are several ways to calculate the pulse width of a digital input signal. One method is to directly read the input pin and another method (more efficient) is to use a timer and pin change interrupt. Function startTi ...

Assignment word matchingwhats a six-letter word that has an

Assignment: Word Matching What's a six-letter word that has an e as its first, third, and fifth letter? Can you find an anagram of pine grave. Or how about a word that starts and ends with ant (other than ant itself, of ...

1 implement the binary search tree bst in c using the node

1. Implement the Binary Search Tree (BST) in C++, using the Node class template provided below. Please read the provided helper methods in class BST, especially for deleteValue(), make sure you get a fully understanding ...

Assign ment - genetic algorithmin this assignment you will

ASSIGN MENT - GENETIC ALGORITHM In this assignment, you will use your C programming skills to build a simple Genetic Algorithm. DESCRIPTION OF THE PROGRAM - CORE REQUIREMENTS - REQ1: Command-line arguments The user of yo ...

Project - space race part a console Project - Space Race Part A: Console Implementation

Project - Space Race Part A: Console Implementation INTRODUCTION This assignment aims to give you a real problem-solving experience, similar to what you might encounter in the workplace. You have been hired to complete a ...

Why do researcher drop the ewaste and where does it end

Why do researcher drop the ewaste and where does it end up?

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As