Title The Grade Letter
Catalog Type SLCItem
Persistent ID https://pawscomp2.sis.pitt.edu/pcex/pcex_v2/index.html?lang=PYTHON&set=py_if_else_grade&ch=py_ifelseif_grade2
Platform Name PCEX
Features
Description Construct a program that receives a grade from the user and prints the numeric range for that grade using the following grading rules:\nA for scores ≥ 90\nB for scores ≥ 80\nC for scores ≥ 70\nD for scores ≥ 60\nF for scores < 60\nFor example, if the user enters the grade D, the program prints "Score is in range [60-70)".
Keywords if-else statement
Author Kamil Akhuseyinoglu
Institution University of Pittsburgh
Iframe URL https://pawscomp2.sis.pitt.edu/pcex/pcex_v2/index.html?lang=PYTHON&set=py_if_else_grade&ch=py_ifelseif_grade2
Protocol PITT, HTML
Protocol URL
License MIT
Programming Language Python
Natural Language en

Preview