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, 22.06.2019 00:30
Which of the following methods could be considered a “best practice” in terms of informing respondents how their answers to an on-line survey about personal information will be protected? respondents are informed that investigators will try to keep their participation confidential; however, confidentiality cannot be assured. respondents are informed that a research assistant will transfer all the research data to a password-protected computer that is not connected to the internet, via a usb flashdrive. the computer is located in a research team member’s office. the investigator uses the informed consent process to explain her institution’s method for guaranteeing absolute confidentiality of research data. the investigator uses the informed consent process to explain how respondent data will be transmitted from the website to his encrypted database without ever recording respondents’ ip addresses, but explains that on the internet confidentiality cannot be absolutely guaranteed.
Answers: 1
question
Computers and Technology, 23.06.2019 01:00
Petrică, tânăr licean în clasa a ix-a, a primit în dar de la părinţii săi un cont bancar pentru micile sale cheltuieli curente. el este pasionat de internet banking şi îşi verifică cu grijă toate tranzacţiile efectuate. pentru creşterea securităţii tranzacţiilor online, banca îi furnizează lui petrică un număr pe care el va trebui să îl modifice, obţinând un număr tan – număr de autentificare a tranzacţiei (transaction authentication number). regula de obţinere a numărului tan este următoarea: se formează cel mai mic număr par din toate cifrele numărului furnizat de bancă. cerinţă cunoscând numărul n furnizat de bancă, să se determine numărul tan obţinut de petrică. date de intrare fişierul tan.in conţine pe prima linie numărul natural n cu semnificaţia din enunţ. date de ieşire fişierul de ieşire tan.out va conţine o singură linie pe care va fi scris numărul tan cerut. restricţii • 0 < n < 18*1018 • n are cel puţin o cifră pară • numărul tan obţinut nu poate conţine zerouri nesemnificative
Answers: 2
question
Computers and Technology, 23.06.2019 09:00
Before you record your own voice, you should a. record other people's voices b. warm up and practice difficult names c. listen to your favorite songs d. read a transcript of a good radio news segment
Answers: 1
question
Computers and Technology, 23.06.2019 10:00
Now, open this passage to read about fafsa requirements. describe the information you will need to provide in order to complete a fafsa. list at least three of the required documents you must include.
Answers: 3
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, 25.05.2021 19:10
question
Mathematics, 25.05.2021 19:10
question
Arts, 25.05.2021 19:10
question
Mathematics, 25.05.2021 19:10
Questions on the website: 13722365