Question

the source code file so the program will operate as described below. These are the software requirements for the project. Whe

this should be a code for C++

0 0
Add a comment Improve this question Transcribed image text
Answer #1

#include<iostream>

using namespace std;

int main(){

float salary;

cout<<"[001] Hello,This is lab Project 1. Therea are several goals:\n";

cout<<"[002]\n";

cout<<"[003] 1. Learn how to use the Coding Ground C++ IDE\n";

cout<<"[004] 2. Learn how to locate and correct syntax errors in source code \n";

cout<<"[005] 3. Learn how to build and run my program \n";

cout<<"[006] 4. Learn the basic template for every C++ program\n";

cout<<"[007] 5. Learn how to write cout statements\n";

cout<<"[008] 6 Learn how to write cin statements\n";

cout<<"[009] 7. Learn how to define double variables \n";

cout<<"[010] 8. Learn how to use the basic arithmetic operators \n";

cout<<"[011]\n";

cout<<"[012] What is your yearly salary? \n";

cin>>salary;

cout<<"[013] Your yearly salary is $"<<salary<<endl;

cout<<"[013] Your monthly salary is $"<<salary/12<<endl;

cout<<"[013] Your biweekly salary is $"<<salary/26<<endl;

}

Note : Please comment below if you have concerns. I am here to help you

If you like my answer please rate and help me it is very Imp for me

Add a comment
Know the answer?
Add Answer to:
this should be a code for C++ the source code file so the program will operate...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Write a C program as follows: Single source code file Uses an infinite loop Requests the...

    Write a C program as follows: Single source code file Uses an infinite loop Requests the user to press a key Uses a nested switch statement Either prints the key pressed, or terminates using the break statement and prints Goodbye! if the user presses either the e or E key Please include lots of comments please, this is how I learn how to code. I need LOTS of comments!

  • Write a C program as follows: Single source code file Requests the user to input two...

    Write a C program as follows: Single source code file Requests the user to input two integer numbers Requests the user to make a choice between 0 (add), 1 (subtract), or 2 (multiply) Declares three separate functions Uses a pointer to these three functions to perform the requested action Outputs the result to the screen Submit your program source code file to this assignment. Sample Output Enter first integer number: 15 Enter second integer number: 10 Enter Choice: 0 for...

  • Write a C program that asks the user to enter two real numbers. Then your program...

    Write a C program that asks the user to enter two real numbers. Then your program displays a menu that asks the user to choose what arithmetic operation to be done on those numbers. Depending on the user's entry, the program should display the result to the screen. The sample runs below show what should be done to the numbers entered by the user. Your program should run exactly like shown in the sample runs. make your code run as...

  • PLEASE DO IN PYTHON Program 2: Design (pseudocode) and implement (source code) a program (name it...

    PLEASE DO IN PYTHON Program 2: Design (pseudocode) and implement (source code) a program (name it FeetMeters) to display a conversion tables for feet and meter as show below. Document your code and properly. Feet Meter 1.0 0.305 2.0 0.610 3.0 0.915 . . . . . . 19.0 5.7.95 20.0 6.100 Meter Feet 1.0 3.279 2.0 6.558 3.0 9.837 . . . . . . 19.0 62.301 20.0 65.574 The program defines the following methods: Method feetToMeter() converts from...

  • Write a C++ code for this question- Write a program with a method that plays the...

    Write a C++ code for this question- Write a program with a method that plays the guess a number game. The program should allow the user to pick a number between 1 and 1000 in his head. The method should guess the user's number in a minimal amount of attempts. The method should ask the user "is the number greater than or less than the number    " and the program gives a particular number. The user in some way just...

  • Write a program (attach source file of your program and include its source code your answer...

    Write a program (attach source file of your program and include its source code your answer script too ) that does the following defines a structure for a phonebook contact with at least the following members: contact_name, phone_number, email. If the phonebook is empty it will prompt user to create list If not empty the program will list all the phonebook contacts and details . [HINT] Implement a linked list and traverse the linked list                                                     [20]

  • SOLVE USING C!!! Project objective: Conditional statements, loops, reading from file, user defined functions. **Submit source...

    SOLVE USING C!!! Project objective: Conditional statements, loops, reading from file, user defined functions. **Submit source code (LargeProg1.c) through Canvas One source code file(unformatted text) will be submitted Here is INCOMPLETE code to get started: LargeProg1.c The file name must match the assignment The code should be tested and run on a Microsoft compiler before it is uploaded onto Canvas The code must be submitted on time in order to receive credit (11:59PM on the due date) Late submissions will...

  • answer the following using C# Design and program a Visual Studio Console project in C# that...

    answer the following using C# Design and program a Visual Studio Console project in C# that allows your user to enter a number. The program will examine the number to see if it is prime. If it is prime, it will print the next higher prime and the next lower primes to the console. If the number entered by the user is not prime, display a message to that effect. All code should be written by you. Do not copy/paste...

  • Linux & Unix Write a bash program to indent the code in a bash source file....

    Linux & Unix Write a bash program to indent the code in a bash source file. Conditions:     The source file will contain only printing characters, spaces, and newlines. It is not necessary to check for invalid input.     The source file will not contain comments (words beginning with #). Requirements:     Read from standard input, write to standard output.     Code inside while statements should be indented 2 spaces. Be sure your program includes all of the following:    ...

  • Write pseudocode and the write the source code in C++, thanks! Program 0: Insulted yet? Most...

    Write pseudocode and the write the source code in C++, thanks! Program 0: Insulted yet? Most people get harassed by telemarketers, so for your warmup question, you're going to design (pseudocode) and write (source code) a program that generates (clean) insults at random. The program must have a function that takes in the name of a person and prints out an insult directed to them. Further, the program should ask if the person has had enough insults and continue until...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT