Answer:
countLetterGrades:
void countLetterGrades(double grades[], const int SIZE, int &numberOfAs,int &numberOfBs,int &numberOfCs,int &numberOfDs,int &numberOfFs) {
for(int i = 0; i < SIZE; i++){
if(grades[i]>85){numberOfAs++;}
else if(grades[i]>75){numberOfBs++;}
else if(grades[i]>65){numberOfCs++;}
else if(grades[i]>55){numberOfDs++;}
else{ numberOfFs++;}
}
}
printData:
void printData(double average, int numberOfAs,int numberOfBs,int numberOfCs,int numberOfDs,int numberOfFs)
{
cout<<"Average: "<<average<<endl;
cout<<"Number of A's: "<<numberOfAs<<endl;
cout<<"Number of B's: "<<numberOfBs<<endl;
cout<<"Number of C's: "<<numberOfCs<<endl;
cout<<"Number of D's: "<<numberOfDs<<endl;
cout<<"Number of F's: "<<numberOfFs<<endl;
}
Explanation:
Your question is poorly formatted. (See attachment for proper presentation of question)
------------------------------------------------------------------------------------------------------------
The first step is to go to the main function and replace
//TODO: Add function calls
with the following 4 lines of code:
getGrades(grades,SIZE);
average = getAverage(grades,SIZE);
countLetterGrades(grades, SIZE, numberOfAs,numberOfBs,numberOfCs,numberOfDs,numberOfFs);
printData(average, numberOfAs,numberOfBs,numberOfCs,numberOfDs,numberOfFs);
------------------------------------------------------------------------------------------------------------
1. getGrades(grades,SIZE);
This calls the getGrade functions; The getGrade function is where the user inputs 5 grades for a student
2. average = getAverage(grades,SIZE);
Next, is to get the average of the input grades. This is done using the above and the average is stored in variable average
3. countLetterGrades(grades, SIZE, numberOfAs,numberOfBs,numberOfCs,numberOfDs,numberOfFs);
Next, is to get letter grade of each number grade. This is done using countLetterGrades function.
4. printData(average, numberOfAs,numberOfBs,numberOfCs,numberOfDs,numberOfFs);
The above 3 functions populate data for average, numberofAs to numberofFs; This values are passed to printData function to to display program output.
------------------------------------------------------------------------------------------------------------
Next complete countLetterGrades and printData functions as seen in the answer section.
For clarity, see the attached cpp file for line by line explanation of the complete code
Myra just got the latest computer game and wants to play it on her desktop. When she plays the game, she notices that it is sluggish and the animations are not very clear. What can she do to improve her gaming experience?
Answer:
Ram/cpu/gpu... Many many things she can do
Explanation:
It may be a issue of internet bandwith, if this new game requires a insane ammount of internet then it may run low FPS (frames per second) and make myra's game look slughish,but anouther issue may be the ram or cpu, like if this is a new game and you've always played like simple games, so your running on persay a core i3 or i4, it aint gonna cut it on a newer game, you gonna need a probably core i5 or i7, or be like any sane person and switch to amd, it may be a bit pricy but if you want nice clean gaming, then amd is the way to go
Also while you are at it get a ssd
I hope this helps "-"
Answer:
She can upgrade her hardware/software
Explanation:
For hardware, she can troubleshoot any broken components that are possibly in the computer, upgrade cards/fans, etc.
and for software she can upgrade her operating system, upgrade or download any missing frameworks, clear out any software that is taking too much CPU/RAM in the background using task manager/system viewer/KSysGuard, etc.
explain how the organ systems work together to warm up the body on a cold day
Answer:
Your body is to cold ,blood vessels in the skin contract , and blood flow to the extremities (arms and legs)slows . muscles contract and relax rapidly which generates heat to keep you warm..
Explanation:
Hope this helps :)
Answer:
Sample Response: The brain, through the nervous system, sends signals to the muscular system, causing the muscles to move rapidly. This rapid motion produces heat in the body and is observed as shivering. The brain also sends signals to the muscles right beneath the skin. These muscles shorten and tighten, causing the hairs on the skin to stand up. When the hairs stand up, heat is kept in the air trapped within the hairs, which keeps the body warm.
Explanation:
What is the quickest way to remove all filters that have been applied to a worksheet?
Click each filter and select Clear Filter.
Click the Filter button in the Sort & Filter group.
Select the worksheet and click Clear Filter.
Select the worksheet and click Delete All Filters.
Answer:
Select the worksheet and click Delete All Filters.
Explanation:
Answer:
Click the Filter button in the Sort & Filter group
Explanation:
I am not sure if you don't believe my answer go with your gut.
Click "Thanks" if this helped! :)
What is the
binary code
for
"DMS"?
Answer:
D= 01000100
M= 01101101
S= 01110011
Explanation:
What will be displayed in the console when the following program runs?
var count = 0
while (count != 5){
console.log(count);
count = count + 2;
}
Answer:
The integer, count, will be stuck in a infinite while loop, and the console will keep adding 2 to count, so it'll look something like this.
0
2
4
6
8
10
12
14
and so forth...
Explanation:
The while loop will never stop because count can not equal to 5 because you can't add 2 to another multiple of 2 to get 5.
Because count cannot reach 5, and you cannot add 2 to another multiple of 2, the while loop will never come to an end.
What displayed in the console when program runs?An endless loop is a section of code that never reaches the ending condition, hence it keeps running indefinitely. An infinite loop may cause your software or browser to crash or freeze. Infinite loops must be understood in order to avoid such situations.
When a condition always evaluates to true, an infinite loop happens. Typically, this is a mistake. You may, for instance, have a loop that decreases until it hits zero.
Therefore, It will resemble this because the integer count will be locked in an unending while loop and the console will keep adding 2 to count. 0, 2,4, 6, 8, 10,12, 14 The program will end in an infinite loop.
Learn more about program runs here:
https://brainly.com/question/19339163
#SPJ2
(Java) Write a program that accepts a number of minutes and converts it both to hours and days. For example, 6000 minutes is 100.0 hours or 4.166666666666667 days.
The program is a sequential program, and it does not require any conditional statement or iteration.
The program in Java, where comments are used to explain each line is as follows:
import java.util.*;
public class Main{
public static void main(String[] args) {
//This declares minutes as a double data type
double mins;
//This creates a Scanner object
Scanner input = new Scanner(System.in);
//This gets input for minutes
mins = input.nextDouble();
//This converts the minutes to hour and days, and also print them
System.out.println(mins/60+" hours or "+mins/1440+" days");
}
}
At the end of the program, the equivalent number of hours and number of days are printed.
Read more about similar programs at:
https://brainly.com/question/8598360
(true or false) One of the difficult things about working in game design is that while there are many different roles, most of them only match one specific personality type.
True
False
what is the meaning of .com in computer
Answer:
The answer to this question is given below in the explanation section.
Explanation:
The terms ".com" is the most common term that you see at the end of the domain name. This term is most widely used in computers and in websites. The dot com ".com" is a suffix and most common suffix in website addresses.
Furthermore, the term ".com" is short for a commercial for many educational, personal, profit, and non-profit websites. The reason behind using .com as a suffix in a website name is that it is most common and recognizable.
You can buy a website domain with dot com ".com" suffix from many website hosting companies. The companies that using dot com in their website name they are mostly doing business on the internet.
When a customer makes an online hotel booking the database is updated by using
A) table
B) form
C) query
D)report
When a customer makes a booking, the database is updated by using a form.
Forms in a database are necessary for the manipulation and the retrieval of data. It helps with entering, editing as well as displaying data.
The form allows you to add data to the already existent table and it can also help one to view already existent information.
A form can also be used to view information from query. When this is the case, it searches and analyzes data.
Read more at https://brainly.com/question/10308705?referrer=searchResults
Shira’s Shoes sold 875,000 pairs of sandals in June, which was 70% of the total number of shoes sold. How many shoes did the company sell in June? Analyze Emily’s calculations. What error did she make?
Explanation:
Emily solved for a part when she should have solved for the whole. 875,000 should be the numerator of the equivalent ratio. 70 x 12,500 is 875,000. So the answer is 100 x 12,500 which is 1,250,000.
Answer:
Emily solved for a part when she should have solved for the whole. 875,000 should be the numerator of the equivalent ratio. 70 x 12,500 is 875,000. So the answer is 100 x 12,500 which is 1,250,000.
Taylor needs to remove the text to the left of his cursor. Which of the following keys should he press?
Answer:
bacspace not delete
Explanation:
delete erases on the right not left
Backspace he should press to remove the text to the left of his cursor.
What is cursor?
A cursor is an indicator used in computer user interfaces to show the current position for user interaction on a computer monitor or other display device that responds to input from a text input or pointing device. Because of its usage resemblance to a pointing stick, the mouse cursor is also known as a pointer. Cursor is a Latin word that means "runner." The transparent slide engraved with a hairline that is used to mark a point on a slide rule is known as a cursor. By example, the word was later transferred to computers. On November 14, 1963, while attending a computer graphics conference in Reno, Nevada, Douglas Engelbart of the Augmentation Research Center (ARC) expressed his desire to pursue his goal of developing both software and hardware computer technology to "augment" human intelligence by pondering how and where to adapt the underlying principles of the planimeter to inputting X- and Y-coordinate data.
To learn more about cursor
https://brainly.com/question/12406758
#SPJ2
what is the computer?
Answer:
an electronic machine that can store, find and
__ allow(s) users with mobility issues to control the computer with their voice.
Speech input software
Tracking devices
Head pointers
Text-to-speech
Answer:
Speech input device
Explanation:
I think this is the answer
Answer: speech input software
Explanation: got it right on edgen
In a networking context, "architecture" refers to
a. the building that houses the network
b. design
c. the hardware
d. a well-built network
Answer:
A well built netwrk
Explanation:
Choose the proper term to describe each of the following examples.
senate.gov:____
23.67.220.123:_____
SMTP acc name
Domain name
IP address
Answer:
senate.gov: Domain Name
23.67.220.123: IP Address
Explanation:
We need to choose the proper term to describe:
a) senate.gov
It is called Domain Name
The domain name is a component of a URL (uniform resource locator ) used to access web sites
b) 23.67.220.123
It is called IP address.
IP address is defined as unique string of characters that is used to uniquely identify each computer in the network.
Select all the correct answers.
In which TWO ways does e-governance empower citizens?
Citizens can obtain information directly from government websites.
Citizen can easily fix appointments with senators online.
Citizens do not need to travel to government offices.
Citizens can vote online on the bills introduced in the legislature.
i will have more questions under ur answers
Answer:
Citizens can obtain information directly from government websites.
Citizens do not need to travel to government offices.
Explanation:
These seem the most appropriate to me.
Sonora wants to extend the cells to be added in her formula. What is the quickest way to add more cells?
O Go to the Function Library group and click Insert Function.
Click the Insert tab in the ribbon and then Equation.
O Type the ranges in the parentheses in the formula bar.
O Left-click on a cell that is included and drag the cursor.
Answer:
D
Explanation: took the test on edge
Answer:
Left-click on a cell that is included and drag the cursor.
Explanation:
Write a function named last_digit that returns the last digit of an integer. For example, last_digit(3572) should return 2. It should work for negative numbers as well; last_digit(-947) should return 7.
def last_digit(num):
num = str(num)
return int(num[-1])
print(last_digit(-947))
I hope this helps!
[Exceptions, Function calling another function] Write a function ticker() that first runs (calls) read_ticker() and then stores the returned dictionary. It then runs an interactive loop with the user in which the user is prompted for a company name. If the company name (key) is in the dictionary, then its ticker form and the IPO year is printed. Otherwise a warning is printed that the company name is not in the list. If the user just hits return without entering a name, the loop stops.
this is the function that needs to be called:
def read_ticker():
d = {'1347 Capital Corp.': ('TFSCW', '2014'), '1347 Property Insurance Holdings, Inc.': ('PIH', '2014'), '1-800 FLOWERS.COM, Inc.': ('FLWS', '1999')}
return d
def read_ticker():
d = {'1347 Capital Corp.': ('TFSCW', '2014'), '1347 Property Insurance Holdings, Inc.': ('PIH', '2014'),
'1-800 FLOWERS.COM, Inc.': ('FLWS', '1999')}
return d
def ticker():
di = read_ticker()
while True:
try:
name = input("Enter the name of a company: ")
if name == "":
return
print(di[name])
except KeyError:
print("Name not found! Please enter a valid name!")
ticker()
I hope this helps!
Write a for loop in python that prints 10 random numbers between 1 and 100 inclusive.
import random
for x in range(10):
print(random.randint(1,100))
The shooting(blank) should describe a daily plan of the shoot and should include everything from the crew to wrap-up.
Answer:
schedule
Explanation:
Indeed, in almost every video production a shooting schedule is used to describe the daily plan of the shoot; such as what scenes to shoot first, and next.
It also gives details about the crew, as well as the timeline for the entire film production, and so on.
Given the formula on the left, label the parts. SUM . A2:D19 . E55 . (A2:A19,C13,E55,19) .
Answer:
SUM
✔ function name
.
A2:D19
✔ range
.
E55
✔ value
.
(A2:A19,C13,E55,19)
✔ argument
Answer:
1. B
2. A
3. A
4. C
Explanation:
On edge2020 I got it right
Find true or false. A hacker is hacking software with access in sensitive information from your computer
A friend a just opened his own barber shop and has asked you to develop a program to track the type of service the customer is receiving and the cost for the service and also include any tips the customer may give to the barber. The name of your friend's barber shop is Big Al's and on each customer receipt he wants to display the name of his shop, customer name, the type of service, cost of the service, and the amount of the tip for a total price of the service rendered. Name your variables Declare your variables
Answer:
class Barber(object):
barber_shop = "Big AI's barber shop"
def __init__(self, customer_name, type_of_service=[], tip=0):
self.cust_name = customer_name
self.tos = type_of_service
self.tip = tip
def service_type(self, *args):
for i in args:
self.tos.append(i)
def total(self):
services = {'trimming':10, 'hair_cut':20, 'shaving':15, 'washing':5, 'dyeing':5}
contain = ''
total = 0
for service in self.tos:
if service in services.keys():
total += services[service]
contain += f'{service}: {services[service]}\n'
print(self.barber_shop,'\n', self.cust_name,'\n', 'Services:',contain.splitlines(),'\n', \
f'total: ${total}', '\n',f'Tip: ${self.tip}')
mycust = Barber('John',['washing'],6 )
mycust.service_type('shaving', 'dyeing')
mycust.total()
Explanation:
The Barber class is a blueprint used to create an object instance of customers that visits the barber-shop. It has two methods 'service_type' and 'total' which are just defined functions of the class that appends services to the type of service variable and total that prints the total cost of services on the screen.
Which list method allows elements in a sequence to be removed and added at either end of the structure?
a) index
b) queue
c) stack
d) deque
PLEASE HURRY
Answer:
b) queue
Explanation:
Queue is also an abstract data type or a linear data structure, just like stack data structure, in which the first element is inserted from one end called the REAR(also called tail), and the removal of existing element takes place from the other end called as FRONT(also called head).
Answer:
B is right!
Explanation:
2. The internet offers a great source of information; however, how are
you going to make sure that these pieces of information are reliable?
Answer:
There are many different ways that you can ensure that the information you gather on the internet is reliable and accurate! One way is to not look at Wikipedia and sites where anyone has the access to edit it at any time. Sites that are .com or .org are usually from a direct and safe source. Stay away from media websites and if you believe something isn't right, do further research.
Explanation:
Hopefully this helps.
please help me I want the answer for the 3rd question
Which are examples of primary sources? Check all that apply.
diary
newspaper article
biography
photograph
speech
Answer:
A, D, E
Explanation:
Diaries, photographs, and speeches are all forms of primary sources, whereas biographies and newspaper articles are written by a secondary source.
Answer:
a,d,e
Explanation:
what makes classical music "classical"?
Answer:
Whereas most popular styles are usually written in song form, classical music is noted for its development of highly sophisticated instrumental musical forms, like the concerto, symphony, and sonata. Classical music is also noted for its use of sophisticated vocal/instrumental forms, such as opera.
Answer:
the time period in which it was composed
Explanation:
Animal wisdom/ the last wolf .compare and contrast the overall feeling of each poem