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.

  1. 👍
  2. 👎
  3. 👁
  4. ℹ️
  5. 🚩
  1. read x,y
    sum = x+y
    diff1 = x-y
    diff2 = y-x
    product = x*y
    quot1 = x/y
    quot2 = y/x

    1. 👍
    2. 👎
    3. ℹ️
    4. 🚩
  2. Write an algorithm to find out difference , product, quotient

    1. 👍
    2. 👎
    3. ℹ️
    4. 🚩
  3. solve

    1. 👍
    2. 👎
    3. ℹ️
    4. 🚩
  4. not helpful but thanks

    1. 👍
    2. 👎
    3. ℹ️
    4. 🚩
  5. Create an application that will ask the user if he or she is a Value customer. If the user is a Value Customer, tell the user that he or she has earned a 10% discount on their purchase.

    1. 👍
    2. 👎
    3. ℹ️
    4. 🚩
  6. The Daily Gazette accepts classified ads in several categories. For most ads, the newspaper charges 10 cents per word for the first 50 words, and 8 cents per word for every word after that. Design a flowchart or pseudocode for a program that accepts data about and ad: customer name, ad category, and number of words. Display all the input data and the price for the add.

    1. 👍
    2. 👎
    3. ℹ️
    4. 🚩
  7. Write a pseudocode to determine the type of triangle, depending upon the value of the sides.

    1. 👍
    2. 👎
    3. ℹ️
    4. 🚩

Respond to this Question

First Name

Your Response

Similar Questions

  1. 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

  2. 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

  3. computer science

    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. Science

    Write a pseudocode which will accept two integers from the user and calculate the sum and product. Then display the answer to the user.

  1. 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

  2. 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.

  3. Program

    Write a pseudocode and algorithm that to else the user to input 10 numbers in program we display the largest number

  4. computer

    Write an algorithm for a program that accepts a set of numbers and finds the smallest among them and computes the sum of the numbers accepted. The program stops when the user enters number 999. Convert the algorithm into flowchart

  1. python programming

    Develop a pseudocode algorithm that prompts the user to input his/her name and age. If the age entered is less than 0 or greater than 125, the program should be terminated. The user has three chances for entering the age. If after

  2. 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

  3. java programming

    1. Time Calculator Write a program that asks the user to enter a number of seconds. • There are 60 seconds in a minute. If the number of seconds entered by the user is greater than or equal to 60, the program should display the

  4. IT

    3. Write an algorithm and pseudocode which asks a user to enter the price of an item. Once the user enters the price, calculate the discount at 10% and print the discount amount and the new price after the 10% discount

View more similar questions or ask a new question.