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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 24.06.2019 07:00, janeliles
Why would a business likely use a java applet - to back up their data files for the business - to create a program that a customer can launch in their web browser - to create music on a powerpoint presentation - to organize files on their company directory
Answers: 3
image
Computers and Technology, 24.06.2019 22:00, ivethzurita0425
What is a number system, and what is the total number of digits used in this system called? a number system is a system that uses different (options: a) numbers b) symbols c) codes d) digits e) alphabets) to represent different numbers. the total number of digits used in a number system is known as its (options: 1) processor 2) converter 3) radix 4) least significant digit 5) most significant digit)
Answers: 1
image
Computers and Technology, 25.06.2019 02:30, gabby0148
On the pie chart below, which “slice” represents 30% of the budget?
Answers: 2
image
Computers and Technology, 25.06.2019 06:20, kromaug7986
In your pest busters game, how does player 2 move the ship 2 object? a pressing the w and s keys b. pressing the up arrow and down arrow keys c. moving the mouse from side to side d. moving the mouse up and down select the best answer from the choices provided
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 in other subjects:

Konu
Mathematics, 14.04.2020 23:33