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
o-na [289]
4 years ago
14

Array testgrades contains num_vals test scores. write a for loop that sets sumextra to the total extra credit received. full cre

dit is 100, so anything over 100 is extra credit. ex: if testgrades = {101, 83, 107, 90}, then sumextra = 8, because 1 0 7 0 is 8.
Computers and Technology
1 answer:
Anastaziya [24]4 years ago
6 0
# Written in python

# These are our variables
sumExtra = 0
testGrades = [101,83,107,90]

# Iterating through the testGrades list
for number in testGrades:
    if number > 100:
        sumExtra = sumExtra + 1


# Printing results
print("Your total extra credit is" , sumExtra)
    
    

You might be interested in
Which tools would you use to make header 1 look like header 2.
Kamila [148]

The tools that would be used to make header 1 appear and look like header 2 is the alignment tool icon and the Bold tool icon.

To understand this question, we must understand the interface of the Microsoft Excel.

<h3>What is Microsoft Excel?</h3>

Microsoft Excel is a spreadsheet that can be used for a variety of features such as:

  • Computation of Data sets and variables
  • Calculation of Business Data
  • Arrangement and Analysis of Data into Tables etc.

As a Microsoft software, Microsoft Excel can also be used to edit sheets. In the image attached, the required tool icons needed to change the header 1 into header 2 is the alignment tool icon and the Bold tool icon.

The two tools can be seen in the image as the two lower left icons.

Learn more about Microsoft Excel here:

brainly.com/question/25863198

6 0
2 years ago
Analyze the following code. II: public class Test { public static void main(String[] args) { System.out.println("Welcome to Java
Grace [21]

COMPLETE QUESTION

I. public class Test {

public static void main(String[] args){

System.out.println("Welcome to Java!");

}

}

II. public class Test { public static void main(String[] args) {System.out.println("Welcome to Java!");}}

Answer:

Both codes will compile and run and display Welcome to Java, but the code in II has a better style than I

Explanation:

When written codes, paying attention to proper coding styles and efficient memory management enables us to create programs that are highly efficient, coding styles refer to proper indentions and avoiding too lenghty lines of code (as is in code I), adding approprite comments etc.

8 0
3 years ago
The acronym GUI is short for
Y_Kistochka [10]
Graphical user interface.

Hope I helped :)
4 0
3 years ago
Return a formatted string with numbers The function below takes three numerical inputs: num1, num2, and num3. Implement it to re
alexira [117]

Answer:

In Python:

def ret_formatted(num1,num2,num3):

   result = str(num1)+"_"+str(num2)+" ! "+str(num3)

   return result

Explanation:

This defines the function

def ret_formatted(num1,num2,num3):

This generates the output string

   result = str(num1)+"_"+str(num2)+" ! "+str(num3)

This returns the result string

   return result

3 0
3 years ago
Describe what happens at every step of our network model, when a node of one network...
Lynna [10]

Answer:

Each node on the network has an addres which is called the ip address of which data is sent as IP packets. when the client sends its TCP connection request, the network layer puts the request in a number of packets and transmits each of them to the server.

5 0
3 years ago
Other questions:
  • Why do you put www. in front of websites?
    13·1 answer
  • Explique si en la pc que se usa para hacer las tareas escolares se puede ver un video juego de los llamados “pesados”
    13·1 answer
  • The term median means
    9·2 answers
  • Garrett has a column of data. What can he do at the bottom of that column of data using an Auto function? Check all that apply.
    8·2 answers
  • Which line of code will print Python is cool! on the screen?
    9·2 answers
  • central, secure database in which Windows stores hardware and software configuration information and system security policies is
    12·1 answer
  • Work-based learning can be defined as educational experiences that focus on
    11·1 answer
  • a document contains a list of items that appear in no particular order. what is the best way to format the list
    5·1 answer
  • Which three of the following statements are true about using a WYSIWYG editor?
    10·2 answers
  • HOMEWORK: Bud, Not Buddy I NOTICE... What do you see? chpter 3-4<br><br>​
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!