Ask Experts Questions for FREE Help !
Ask
    mroberts50's Avatar
    mroberts50 Posts: 2, Reputation: 1
    New Member
     
    #1

    Sep 23, 2010, 08:10 AM
    Pseudocode for 'if the grade point average is between 2.0 and 3.5 inclusive
    karilynngodd's Avatar
    karilynngodd Posts: 10, Reputation: 2
    New Member
     
    #2

    Oct 17, 2010, 01:05 PM
    well that would be an if-then-else statement so

    //Declare variables
    Declare real gpa

    //Get gpa
    Display 'Enter your gpa'
    input gpa

    If gpa >= 2.0 and gpa <= 3.5 Then
    Display ''Your gpa is between 2.0 and 3.5''
    else
    Display "whatever the output is supposed to be"
    end If



    That's the best I can do without knowing what the outputs are supposed to be.

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

Pseudocode statements [ 2 Answers ]

Hi, these are my guesses. Can you please check on them? 1) A ___ statement in pseudocode to write a single alternative decision structure. B? a) Test-jump b) If-Then c) If-Then else d) If-Call

Determine the sampling error if the grade point averages for 10 randomly selected stu [ 2 Answers ]

determine the sampling error if the graded point averages for 10 randomly selected students from a class of 125 students has a mean of x=1.8 . Assume the grade point average of the 125 students has a mean of u=2.2

Pseudocode programming [ 2 Answers ]

This pseudocode contains several nested If-Then-Else statements. It was written without proper alignment and indentation. How would I rewrite the code and use proper conventions of alignment and indentation? If score < 60 Then Display “Your grade is F.” Else If score <70 Then Display “Your...

Finding average acceleration and point acceleration [ 1 Answers ]

A car initially traveling eastward turns north by traveling in a circular path at uniform speed as in the figure below. The length of the arc ABC is 260 m, and the car completes the turn in 40.0 s. I need to find the acceleration at a point 35 degrees below the horizontal in terms of vectors I...

Foreclosing on All Inclusive Note and Trust Deed Deal [ 4 Answers ]

We are in the process of foreclosing on the buyer of my second home property for continuing missing payments on an All Inclusive Note and Trust Deed deal. The problem we have is that my borrower is threatening to sue me because he claims we did not have the right to enter the transaction with him...


View more questions Search