Post a New Question

programming

posted by .

1. Write a structured algorithm that prompts the user to input two numbers. The algorithm should calculate and print the sum & product of the two numbers [21/2]

  • Programming -

    Read num1, num2
    Calculate Num1,Num2
    Print total

  • programming -

    write an algorithm that prompts the user for 2 numbers A and B .Prompt again for the operation to performed on A and B
    display the sum of A and B

Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

  1. pseudocode programming

    Develop an algorithm or write pseudocode to determine if a citizen is eligible to vote. The criteria for eligibility are that the citizen must be 18 or older and must not be a convicted felon. The algorithm must continuously accept …
  2. programming

    Write an algorithm that prints the factorial for the first 20 even numbers. Then, give the big-O for your algorithm.
  3. programming

    3. Write a structured algorithm that prompts the user to input the name and the price of an item and the quantity purchased. It should print the name, price, quantity and amount due with appropriate labels.
  4. programming

    4. Write a structured algorithm to prompt the user to enter the prices for two different pay-per-view movies. Calculate the amount due and output it with the following message: “Amount due BBC Television Ltd”. [5]
  5. Programming

    Read two numbers from the keyboard Display the menu options as follows: 1 - computes the sum of two numbers. 2 - computes the difference (first minus second). 3 - computes the product of the two numbers. 4 - if the second number is …
  6. programming

    Using Raptor, create a condition loop that will ask the user for input of two numbers. The numbers should be added and the sum displayed. The loop should also ask the user if he or she wishes to enter two more numbers and perform the …
  7. functional programing c++

    prepare an algorithm using flowchart and write a program that ask the user to enter 2 numbers, options the number from the user and print the same product, different, and contain of the two number
  8. 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
  9. Programming

    Design and plan the logic for a program that prompts the user for and allows the user to enter TWO numbers. The program outputs the sum of the two values. Provide declarations.
  10. Information technology

    Write a structured algorithm that prompts the user to input the number of days in a month. Calculate and print the number of hours in the month appropriately labelled.

More Similar Questions

Post a New Question