Input number by user and display positive and negative

Assignment Help Programming Languages
Reference no: EM1362666

1. Input a saleswoman's sales for the month (in dollars) and her commission rate (as percentage), and output her commission for that month.

2. Input a number entered by the user and display "positive" if it is greater than zero, "negative" if it is less than zero, and "zero" if it is equal to zero.

Reference no: EM1362666

Questions Cloud

Investment management : I am looking for assistance in the area of services of a stock broker and estate planner. I understand that they are individuals that assist people of all income variations who are attempting to set money aside from their financial earnings to invest..
Design a performance evaluation report : Design a performance evaluation report for the purchasing department. Describe what each item in the report measures. Evaluate the performance of the purchasing department.
Illustrate what would you expect to happen to costs : If congress took steps to consolidate banks, thereby reducing the total number to 2,500, illustrate what would you expect to happen to costs within the banking industry.
What is the horizontal component of its velocity : Electric charge Q has been spread uniformly over a circular arc of radius R and central angle 40 degrees. What is the potential at point P, center of curvature of the arc.
Input number by user and display positive and negative : Input a number entered by the user and display "positive" if it is greater than zero, "negative" if it is less than zero, and "zero" if it is equal to zero.
Enhance cooperation using web 2.0 applications : How can companies manage their Enterprise 2.0 strategy and deal with potential pitfalls associated with Web 2.0 and describe how organizations can enhance collaboration using Web 2.0 applications
Elucidate the marketing implication of the factors : Elucidate the marketing implication of the factors contributing to the successful development of a multinational market groups.
What is the magnitude of the net force on the student : What is the magnitude of the net force on the student. A student who weighs 470N is wearing a backpack that weighs 84N. The student is standing still on level ground.
Develop the standard cost of direct material : TasteeFruit Corporation is a small producer of fruit-flavored frozen desserts. For many years its products have had strong regional sales on the basis of brand recognition.

Reviews

Write a Review

Programming Languages Questions & Answers

  Hierarchy of processes

Write a program that creates a hierarchy of processes using the fork() system call.

  Design logic for application to allow user to enter item

Design the logic for an application that allows a user to enter an ordered item continuously until a sentinel value is entered. After each item, display its price or the message.

  Design function to accept two integer values

Design function named max that accepts two integer values as arguments and returns the value that is the greater of the two. for example if 7 and 12 are passed as arguments to the function the function should return 12.

  Compute the product xy

Given two integers X and Y compute the product XY (multiplication), the quotient X=Y (integer division), and the modulus X (mod Y) (remainder).

  Program that uses for loop prompt user to input two integers

Write a program that uses for loop to preform the following steps: Prompt the user to input two integers: firstnum and secondnum.

  Program to solve roots of quadratic equation

Write down a program which solves the roots of the quadratic equation of the given form:- ax 2 + bx + c = 0. Display the results on screen.

  Php script to obtain url and its description from user

Write a PHP script to obtain URL and its description from user and stores information into database by using MySQL.

  Create block using a loop to determine number of items

Create a block using a loop that will determine the number of items that can be purchased based on the price of the item and the total amount available to spend.

  Find number values that are between given range

Suppose the values from aaa.txt have been loaded into array Bob: find out the number values in Bob that are between 0 and 4 (not inclusive).

  Iimplement a class called monetarycoin

Create an implement a class called MonetaryCoin that is derived from the class Coin class. Store a value in the in the monetary coin that represents its value.

  Use of various bash commands

Assignment On: This work will require scripting the use of various bash commands and / or small programs that involve directory and file structures.

  Statement to read variables of type double

Suppose two variables p1 and p2 of type POINT, with two fields, x and y, both of type double, have been declared. Write a statement that reads values for p1 and p2 in that order.

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