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
vodomira [7]
2 years ago
12

Subana is writing a program which will calculate the mean average of a set of numbers by adding the numbers and dividing the res

ult by the amount of numbers. She will use a variable, avg, to store this average. Which variable type would be most suitable for avg?
Computers and Technology
1 answer:
Andre45 [30]2 years ago
5 0

Answer:

a variable of type "double" is more suitable for finding average because average could be any number with decimal places. we can't use a variable of type "integer" because it will omit the value after the decimal and will not produce satisfactory results.  

Explanation:

an example of C++ code is given to find the average of two numbers a and b

#include <iostream>;

using namespace std;

int main() {

double a = 2.334;

double b = 34;

double average =  (a + b) / 2;

cout << average;

return 0;

}

You might be interested in
Today's Apple Mac computers run with the same I-Ternal hardware as the Windows based PC true or false
Ksivusya [100]
Kinda of both. The processor, memory, hard drive and displays are all standard components and are provided by a variety computer competent manufacturers (except for the processors which are all supplied by Intel). Yet - while many components are standard - NO, the core, hardware components, like logic boards (motherboard), video cards, and other specialty components (some display connectors and displays, for example) are propriety Apple designs.
5 0
3 years ago
You can view information for the individual people who will perform the tasks on theproject in the
marin [14]

Answer:

Resource Sheet view

8 0
2 years ago
The arrival of personal computer technology gave rise to client server networks that replaced traditional mainframe and minicomp
zvonat [6]

Answer:

The replacement of traditional mainframe and minicomputers  is a prime example of technological paradigm shift.

Explanation:

As the change of traditional mainframe and minicomputers to personal computers is due to the technological advancements, which led to creation of client server networks. This paradigm shift is the technological shift as the main reason for the shift is due to the technical advancement and enhancement.

8 0
2 years ago
How to trap a private number​
Papessa [141]

Answer:

Explanation:

       ?

4 0
2 years ago
Read 2 more answers
Technology, by itself is neither good nor bad.<br> A) true<br> B) false
sukhopar [10]

Answer:

true

Explanation:

I'm pretty sure it's true. I took coding class and something similar came up, but not 100% sure tho

8 0
2 years ago
Read 2 more answers
Other questions:
  • what would happen if a large number of computer users are attempting to access a web site at the same time that you are
    15·2 answers
  • What is an apprenticeship
    7·1 answer
  • Rachel needs to include a new organizational chart in her project. Which type of illustration should she use?: *
    11·1 answer
  • What is the most effective way to demonstrate being prepared for an interview?
    13·1 answer
  • Please write a Java program to read movies.txt file. (It is in Modules under Chapter Code) Create your own movies.ser file from
    14·1 answer
  • What's the difference between help desk and service desk?
    11·1 answer
  • If u play codm pls tell me ur username
    9·2 answers
  • You can merge the cells using the rowspan and colspan attribute of the tag <br> true or false​
    7·1 answer
  • Imagine that you are creating a website for a client. How will you interact with the client, gather requirements, and update the
    7·2 answers
  • [80 points] Fill in the missing word.
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!