4 if score 60 then display your grade is f else if

Info icon This preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
4. If score < 60 Then Display “Your grade is F.” Else If score < 70 Then Display “Your grade is D.” Else If score < 80 Then Display “Your grade is C.” Else If score < 90 Then Display “Your grade is B.” Else Display “Your Grade is A.” End If 5. If amount1 > 10 AND amount2 < 100 Then If amount1 > amount2 Then Display amount1 Else If amount2 > amount1 Then Display amount2 End If Else Display “Requirements not met!” End If 6. Select number Case 1: Display “You selected A.” Case 2: Display “You selected 2.” Case 3: Display “You selected 3.”
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Case 4: Display “You selected 4.” Default: Display “Not good with numbers, eh?” End Select 7. If speed > 24 AND speed < 56 Then Display “Speed is normal” Else Display “Speed is abnormal.” End If Programing exercises Pg 159 1. Display “Please enter a number:” Select number Case 1: Display “I” Case 2: Display “II” Case 3: Display “III” Case 4: Display “IV” Case 5: Display “V” Case 6: Display “VI” Case 7: Display “VII” Case 8: Display “VIII” Case 9: Display “IX” Case 10: Display “X” Default: Display “Error, number out of range!” End Select
Image of page 2
2.
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern