IT 210 Pseudocode (Help needed ASAP)

I was wondering if anyone would be able to help me with the following pseudocode so that it looks good to turn in. Any changes would be helpful.

Completing Homework
Main Module
Declare FindReading As Real
Declare ReadReading AS Real
Declare CompleteAssignment As Real
Declare Pages as Integer
Declare outputPrompt As Real

Get user input
Find assigned reading
Read reading
Complete assignment

End Main Module

Input Data Module
Write "What is the reading for the week?"
Input reading

Write "How many pages is the reading?"
Input pages

Write "How long did it take to complete the reading?"
Input hours, minutes

Write "How long did it take to complete the assignment?"
Input hours, minutes

End Input Data Module

Find Total Hours Module
Declare hours as real
Declare minutes as real

Hours = 1*hours
Minutes = 60/minutes
TotalHours = hours + minutes

That is as far as I have gotten and I need to know if what I have is correct or are there things that I should had added or taken away.

Thanks for the help.

asked by Jen
  1. I believe you would have to convert the hours to minutes than add the two:
    Input Reading Time Hours
    Input Readig Time Minutes
    Input Assignment Time Hours
    Input Assignment Time Minutes
    ReadingTime = (hours * 60) + minutes
    AssignmentTime = (hours * 60) + minutes
    Total Time = (ReadingTime + AssignmentTime)

    posted by Nick

Respond to this Question

First Name

Your Response

Similar Questions

  1. software

    pseudocode in vb how to calculate toll fees and print out the receipt and change, writing in a pseudocode
  2. C

    Pseudocode: Write a pseudocode to describe how to calculate the average of 10 numbers. Thank you.
  3. Programming

    Using your knowledge of pseudocode, conditional statements, and loops create a pseudocode document and flow chart that displays all numbers from 20 to 1 and indicate if the number is prime as it displays
  4. Pseudocode Format

    Need help writing this using pseudocode format: Carly gets paid annually, and she would like a program that will figure out the amount of money she will be receiving each pay period. To make this simpler, we are not worried about
  5. computer science

    Mr Ali has given a test to his class. He would like to have the average score for the class as well as the highest and lowest scores. Write a pseudocode to calculate and display these values. Then convert your pseudocode into a
  6. Pseudocode

    Write a program in pseudocode format: 1. Robert has a van rental company, and he wants a program that determines the total cost of renting a van from him. His customers will pay a base fee (currently set at $50), plus a charge per
  7. Pseudocode Format

    Need help writing this into Pseudocode Format: Robert has a van rental company, and he wants a program that determines the total cost of renting a van from him. His customers will pay a base fee (currently set at $50), plus a
  8. Logic and Design

    I need help with pseudocode, and any help regarding forming these programs in Visual Logic would be helpful as well. Question 1: You have been asked to design the logic that will display each of the following lines to a screen.
  9. pseudocode app

    Write the pseudocode for an application that allows a user to enter the price of an item and computes 8 percent sales tax on the item and prints out for the user the original price and the tax but not the total.
  10. programming

    You have the final sales figures for the four quarters in 2010 for Bennets Used Auto Sales, and you are to design a program that asks for the sales figures, computes the total sales for the year, and calculates and displays the
  11. Fundamental of computer science

    Pseudocode CountPositive integer totalPos,number Begin loop Input numbers If number>0 then totalPos<-totalPos +1 Loop while number<>0 Print totalPos Convert the above Pseudocode into a pascal program.

More Similar Questions