Programming

Write pseudocode to represent the logic of a program that allows the user to enter a value for hours worked in a day. The program calculates the hours worked in a five day week and the hours worked in a 252 day work year. The program outputs all the results

  1. 👍
  2. 👎
  3. 👁
  1. read h
    w = 5 * h
    y = 252 * w
    print h , w , y
    end

    1. 👍
    2. 👎
    👤
    Damon
  2. whoops
    read h
    w = 5 * h
    y = 252 * h
    print h , w , y
    end

    1. 👍
    2. 👎
    👤
    Damon

Respond to this Question

First Name

Your Response

Similar Questions

  1. Pseudocode

    Write an algorithm and pseudocode that represents a program that allows a user to enter two numbers. Your program should calculate the sum, difference (both directions), product, and quotient (both directions) of the two numbers.

  2. Programming

    Write a pseudocode to represent the logic of a program that allows a user to enter an hourly pay rate and hours worked. The program outputs the user's gross pay

  3. Programming

    Draw a flowchart or write pseudo code to represent the logic of a program that allows the user to enter values for the current year and the user’s birth year. The program outputs the age of the user this year. Preferably a

  4. Cmin

    Draw a flowchart and write pseudocode to represent the logic of a program that allows the user to enter two values. The program outputs the sum of and the difference between the two values.

  1. computer science

    In this exercise you will create a program that computes the average of a collection of values entered by the user. The user will enter 0 as a sentinel value to indicate that no further values will be provided. Your program should

  2. intro to computer programming

    Write a program that asks the user to enter the number of packages purchased. The program should then display the amount of the discount (if any) and the total amount of the purchase after the discount. Your program should use a

  3. CIS

    Draw a flowchart or write pseudocode to represent the logic of a program that allows the user to enter a value. The program multiplies the value by 10 and outputs the result.

  4. programming

    how do I write a pseudocode to find and display the largest list of positive numbers entered by the user. The user should indicate that he/she has finished entering numbers by enter a

  1. Pseudocode

    Write pseudocode for a program that calculates a customer’s total price after tax. The program will ask the user for the price of the item they are buying. Then the program will add a 5% tax to the item and output the final

  2. Programming logic and design

    Draw a flow chart to represent the logic of a program that allows the user to enter five values. The program prints the modulus(%) of the five values

  3. Programming and Design

    Draw the hierarchy chart and design the logic for a program that calculates the projected cost of an automobile trip. Assume that the user's car travels 20 miles per gallon of gas. Design a program that prompts the user for a

  4. C++

    // Program: name of program // Author: your name // Date Written: date you began writing the program /* Abstract: Brief description of the program */ Include in-line comments in the body of your program. You can convert

You can view more similar questions or ask a new question.