We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c387580 + 8dc1fbf commit 4f2d684Copy full SHA for 4f2d684
1 file changed
sabind.java
@@ -0,0 +1,22 @@
1
+#https://www.facebook.com/mayankgbrc/post/2726954114288546
2
+
3
+#subscribe by code house
4
+Import sys
5
+score=input("enter the value")
6
+try:
7
+ score=float(score)
8
+ If score>1.0:
9
+ print("bad score")
10
+ elif 1.0>=score>=0.9:
11
+ print("Grade is A" +str(score))
12
+ elif 0.9>score>=0.8:
13
+ print("B")
14
+ elif 0.8>score>=0.7:
15
+ print("C")
16
+ elif 0.7>score>=0.6:
17
+ print("D")
18
+ elif 0.6>score>=0.5:
19
+ print("F")
20
+except ValueError:
21
+ print("you need to input a Number")
22
+exit()
0 commit comments