subject

Declare a variable “Subject” with user input with a message “Enter the subject name:” Declare a float variable “Exam” with user input with a message “Enter the Exam marks obtain in
“Subject” (Add subject variable declared in previous line to display a proper message)”
Declare a Course Work float variable as “CW” with user input with a message of "Enter the marks
obtain in course work:"
Declare a variable “Percentage” and set its value by calculating the variables of “Subject” and “Exam” to
get the average percentage by dividing it with 2.
Print a string value along with the “Percentage” variable to show the output of the program. Place the
variables of Subject and Percentage in the string value in a way that it should like a sentence as shown in
the picture below.
Print the result as PASS or FAIL using the “if” and “elif” conditions. If the score is less than 60 it should
say FAIL and if the score is equal to or greater than 60 it should say PASS.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 21:30
Apower user needs you to install a second type of operating system on his computer to increase efficiency while running some specialized software programs. which installation technique should you use?
Answers: 3
question
Computers and Technology, 22.06.2019 06:50
Match the personality traits with their description
Answers: 1
question
Computers and Technology, 23.06.2019 00:30
Write the html code to make a link out of the text “all about puppies”. it should link to a pdf called “puppies.pdf” inside the “documents” folder. the pdf should open in a new window.
Answers: 2
question
Computers and Technology, 24.06.2019 02:00
Which steps will open the system so that you can enter a question and do a search for
Answers: 1
You know the right answer?
Declare a variable “Subject” with user input with a message “Enter the subject name:” Declare a fl...
Questions
question
Chemistry, 14.12.2020 03:30
question
History, 14.12.2020 03:30
question
Mathematics, 14.12.2020 03:30
question
Health, 14.12.2020 03:30
question
Biology, 14.12.2020 03:30
Questions on the website: 13722363