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, 23.06.2019 09:30
Write a function called checkfactor that takes two arrays of positive numbers, firstnumberrow and secondnumberrow. checkfactor checks if the first entry in firstnumberrow is divisible by the first entry in secondnumberrow, and performs the same operation on the next array elements until all entries have been checked. all the numbers are positive and the number of entries in the arrays are the same. the function should return the identified divisible numbers in two row arrays named firstdivisible and seconddivisible.restrictions: branches or loops should not be used. the code must use the internal mod and logical functions.hint: the mod function should be used to determine if two numbers are divisible. ex: for num1 and num2 if mod(num1,num2) is 0, then the two numbers are divisible.this is matlab
Answers: 2
question
Computers and Technology, 23.06.2019 10:00
What is estimated time of arrival (eta)? a device that measures the acceleration (the rate of change of velocity) of an item and is used to track truck speeds or taxi cab speeds a gps technology adventure game that posts the longitude and latitude location for an item on the internet for users to find a north/south measurement of position the time of day of an expected arrival at a certain destination and is typically used for navigation applications
Answers: 3
question
Computers and Technology, 23.06.2019 18:40
Johnson enterprises uses a computer to handle its sales invoices. lately, business has been so good that it takes an extra 3 hours per night, plus every third saturday, to keep up with the volume of sales invoices. management is considering updating its computer with a faster model that would eliminate all of the overtime processing.
Answers: 2
question
Computers and Technology, 24.06.2019 00:10
Read each statement below. if the statement describes a peer-to-peer network, put a p next to it. if the statement describes a server-based network, put an s next to it. p - peer-to-peer s - server-based
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
Mathematics, 22.06.2021 09:00
question
History, 22.06.2021 09:00
question
Mathematics, 22.06.2021 09:00
question
Business, 22.06.2021 09:00
question
Mathematics, 22.06.2021 09:00
question
Mathematics, 22.06.2021 09:00
Questions on the website: 13722363