1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
kiruha [24]
3 years ago
9

Create a simple program that calls a function call gradeCalculated, in the main area the user is asked to enter their grade from

0-100. (Python)

Computers and Technology
1 answer:
patriot [66]3 years ago
6 0

Answer:

def gradeCalculated(score):

   if score < 60:

       letter = 'F'

   elif score < 70:

       letter = 'D'

   elif score < 80:

       letter = 'C'

   elif score < 90:

       letter = 'B'

   else:

       letter = 'A'

   return letter

def main():

   grade = int(input("enter your grade from 0-100: "))

   print("Letter grade for ",grade,"is:",gradeCalculated(grade))

   if(grade>80):

       print("You are doing good! keep it up!!")

   else:

       print("You have to get work hard")

main()

Explanation:

See attached image for output

You might be interested in
Which term describes a process by which malicious code can enter from a non-secure network, and make a hairpin, or sharp turn, a
lidiya [134]

Answer:

The correct answer to the following question is Hairpinning.

Explanation:

Hairpinning is the returning message from one origin end-point and back in that direction from where it came, as the way to get it to the destination end-point.

All the conventional telephones systems use both digital and analog hairpinning connections.

In the VoIP (Voice over Internet Protocol), the hairpinning can be avoided and the two endpoints are connected after call has been initiated. This form of communication has following call setups which is called as shuffling.

5 0
3 years ago
Write a function to take three integers x, y and n and check if x and y are both fall between 0 to n-1. If yes, your function sh
gayaneshka [121]

Answer:

statement. int [] data= {7, -1, 13, 24,6};

Explanation:

4 0
2 years ago
6. Which of the following options is used to view a computer's memory properties?
pentagon [3]
There is an option used to vew a computer's memory properties by just simply opening your My computer directory. There you can see different names of your hard drive, there you choose what hard drive you want to view by just right clicking it and choosing properties. There you will see it's memory space.
3 0
4 years ago
1. Encrypt this binary string into cipher text: 110000. Include in your answer the formula the
puteri [66]

Answer:

Encrypt this binary string into ciphertext: 110000. Include

in your answer the formula the decoder would use to decrypt your cipher text in the format (coded answer) x N mod (m) = Y

-Decrypt this ciphertext into a binary string: 106

Now that you can see how public and private keys work in a real-world scenario, please explains how it works for computers and internet communications in relation to cybersecurity.

Explanation: ……………..

6 0
3 years ago
Is nanotechnology is good or bad? and why?
LenKa [72]

Answer:

Nanoparticles do hold out much environmental promise. The same reactivity that makes them harmful in the body also means they can break down dangerous chemicals in toxic waste – or anywhere, for that matter. And their use in electronics drastically reduces power demand, which could cut greenhouse gases.

6 0
3 years ago
Read 2 more answers
Other questions:
  • Document creation is a key business function because:
    6·2 answers
  • In some programming languages, such as C#, Visual Basic, and Java, every class you create is a child of one ultimate base class,
    8·1 answer
  • The total revenues for a company are $150,223 and the total expenses were 125,766. If you are calculating the net income, which
    10·1 answer
  • The addresses a program may use to reference memory are distinguished from the addresses the memory system uses to identify phys
    15·1 answer
  • POINT AND BRAINLIEIST GIVE AWAY!!!
    11·2 answers
  • Modern Computers compared to earlier computers are
    10·1 answer
  • Which Excel function or tool will you use to display the cells that are referred to by a formula in the selected cell
    8·1 answer
  • Which visual aid would be best for showing changes inacts population size over time?
    15·1 answer
  • Anybody know #3 ? I need two ppl to answer this !! Free Brainliest!!
    14·2 answers
  • Create a timeline of the evolution of computers and their impact on society
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!