Calculate the gross pay of an employee

Assignment Help C/C++ Programming
Reference no: EM131667249

Assignment

Ques 1. Write a program to calculate the gross pay of an employee based on the number of hours worked and rate of payment.
gross_pay= no_of_hours* rate

Ques 2. Write a program to display your details as below:
Student id: 1234566
Name: John Smith
Subject: Fundamentals of Software development

Ques 3. Write a program to take 3 numbers from the user convert to integer
If number 1 >=num2 , result is num1-num2, else result is number2-number1.

Ques 4. Write a program to display your grade based on your final score
if(score>85) display HD, if score>75 display D, if score>65 display CR, if score>50 display P else Fail.

Ques 5. Write a program to take two numbers from user, divide them and return remainder.

Reference no: EM131667249

Questions Cloud

Design an algorithm that generates a maze : Design an algorithm that generates a maze that contains no path from start to finish but has the property that the removal of a prespecified wall creates.
Individuals in the african american community : The Invisible Man, he discusses the inner turmoil experienced by many individuals in the African American community during the late 1920's, early 1930's era?
How is this different from the relationship with a friend : How is this different from the relationship with a friend? How are the expectations different? Which is easier to maintain?
Compare the running time of priority queue : Write a program to compare the running time of using the Priority Queue's one-parameter constructor to initialize the heap with N items versus starting.
Calculate the gross pay of an employee : Write a program to calculate the gross pay of an employee based on the number of hours worked and rate of payment - Write a program to take two numbers
Create a use case diagram for the urp approval form system : List 2 considerations to help you define your actors at an appropriate level. List 2 considerations to help you define your scenarios appropriately.
Produce a literature review : For this assignment, you are going to locate an alternate resource that provides you with information on how to produce a literature review
Write a matlab script to calculate the speed of the rocket : Write a MATLAB script to calculate the height (metres) and the speed (metres/s) of the rocket over flight-time. Plot these results against time using two graph.
Implement efficiently the given approximation strategies : For instance, if the items have weights 0.4, 0.4, 0.6, and 0.6, you can solve the problem with two boxes. This problem is difficult, and no efficient algorithm.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Show the items by zone or location within the store

There is other information. Some people shop on a budget so they need the price and the sale price. Use an array or vector to hold the list of items. The display should show the items by zone or location within the store. (Display the output by loc..

  Write function to accept character array

Write down the C++ function which will accept the character array of at most 30 cells. Your function must return true if string and its reverse are identical;

  Design and write a c++11/fltk game program

The project is to design and write a C++11/FLTK game program with a graphical user interface. The game is based on "pancake sorting," which actually has some mathematical significance.

  Construct the wait-for graph

P2 waits for 2 units of R1 and holds 1 unit of R2, P3 holds 2 units of R3 and waits for 1 unit of R4, P4 holds 2 units of R3 and waits for 1 unit of R4. Construct the wait-for graph. Does the system have a deadlock? Justify your answer

  Contacts class that contains an array

Create a Friend class that contains a first name, last name, a birthday, and a telephone number. Create a Contacts class that contains an array of Friend as well as the owner's name and cell phone Number.

  What is purpose of the constructor

Write a program that has the main() call a user-defined function that takes a Celsius  temperature value as an argument and then returns the equivalent Fahrenheit value. The  program should request the Celsius value as input from the user and display..

  Problems related to math power

Write a public static function named power that takes in two integers, a and b, and returns a^b, the first argument to the power of the second argument. You may NOT use Math.pow(), because that would be boring.

  Write a method that returns the number of digits

Write a method that returns the number of digits in an integer argument; for example, 23,498 has five digits.

  Write a recursive method to print all the permutations

Write a recursive method to print all the permutations of a string.

  Write a cpp program that creates a number of line objects

Write a C++ program that creates a number of Line objects and tests each pair for intersection. Your program should print an appropriate error message for parallel lines.

  Write a gui program to sample different fonts

Write a GUI program to sample different fonts. The user enters a line of text in a text field. The user then selects a font from a font menu.

  A program that tests the users ability to memorize

a program that tests the user's ability to memorize a sequence of colors

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd