codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
#include <iostream> using namespace std; int testScore; char grade; cout << "Welcome. Input your numerical test score and I will give you your letter grade." cin testScore cout << "Your original test score was\n << testScore << and your letter grade is\n << grade << . if (testScore < 60){ grade = F else if (
Private
[
?
]
Run code
Submit