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
Vikentia [17]
1 year ago
6

Write a C++ line of code to declare a variable of type “double” that signifies the average of student grades, then initialize th

e
variable to 50.00
Computers and Technology
1 answer:
mamaluj [8]1 year ago
4 0

The line of code required to assign a value of 50.00 to a variable of double data type in C++ can be written thus :

  • double average_student_grade = 50.00;

The declaration follows the format :

  • Data type
  • Variable name
  • Value

The data type which is first stated, the double data type are floating point (have decimals) numbers which have 64 bit precison(a precison of 15 decimal digits) as opposed to floats which have 32 bit precison (a precison of 7 decimal digits).

The variable name is the name to hold the value of average grade. This name depends on the preference of the programmer. However. It is advisable that variable names are relatable.

Therefore, variable declaration in C++ may follow the format data type then variable name then value.

Learn more :brainly.com/question/12908743

You might be interested in
My HTC Desire 510's mobile data stopped working, how to I make it work again?
denis-greek [22]
Ask your mobile operator
2.go to hrs service
3. Turn on and turn off
4 0
3 years ago
A real estate office handles 50 apartment units. When the rent is $600 per month, all the units are occupied. However, for each
Vesnalui [34]

Answer:

452

Explanation:

7 0
3 years ago
In a _____ cloud, a participating organization purchases and maintains the software and infrastructure itself.
notka56 [123]

Answer:

"Private" is the right solution.

Explanation:

  • Application servers supplied sometimes over the World wide web or through a personal corporate network as well as to chosen customers rather than the community benefit of the entire, is termed as the private cloud.
  • It provides companies with the advantages of a cloud environment that include self-checkout, adaptability as well as flexibility.
6 0
3 years ago
Excel Enterprises uses a Web​ site, online social​ networks, and print advertisements to promote its products. Since Excel Enter
Nuetrik [128]

Answer:

Consistency

Explanation:

Bi integrating marketing communications, we can infer that the different brands working under Excel Enterprises have the same basic design, so the marketing department can sell their features easily, without having to create different campaigns or protocols for each individual product.

This homogeneous design then turns intuitive for the user, a textbook definition of consistent design, and the tone is maintained through the different brands.

Just like when you move from Microsoft's Excel to Microsoft's Word, you know the usage of each program is different, but the layout is the same, allowing you to understand the basics of the UX (user interface) of one, by understanding the other.  

4 0
3 years ago
Read 2 more answers
Consider this data sequence: "3 11 5 5 5 2 4 6 6 7 3 -8". Any value that is the same as the immediately preceding value is consi
Darya [45]

// Variable to keep track of array size

int length = 0;

// Array itself

int array[] = {};

// while loop will take input in the array until a negative number is entered

while(input>=0){

stdin = new Scanner(System.in);

array[length] = stdin;

length +=1;

}

// int variable to terminate while loop

int i =0;

// keep track of index of output array

int y =0;

while(arr[i] != length){

// making output array

int output[]={}; bool flag;

// put the element in out put array considering if it the desired one

output[y] = array [i];

// Now check if it was the desired?

for(int z=1;z<=length;z++){

if(array[i+z]!=output[y]){

 flag = true;

}

else

{

 output[y]=0;

 y+=1;

}

if(array[i+z+1]=output[y] && flag == true){

output[y] = array[i];

y+=1;

}

}

//output the array

for(int o=0;o<y;o++)

System.out.println(output[o];

3 0
3 years ago
Other questions:
  • Certain medications can increase risk of obtaining a sunburn true or false
    12·1 answer
  • Does anybody know if that apple watch is actually worth what it costs?
    9·2 answers
  • What kind of security features does Microsoft Security Analyzer promise?
    5·1 answer
  • Explain the purpose of QoS on a TCP/IP network. Define the basic purpose of IP prece- dence, Type of Service, Diffserv, and Expl
    11·1 answer
  • Why do you need to cite your sources? (check all that apply)
    15·1 answer
  • Sean Cody is a website most known for what?
    9·2 answers
  • Write a program num2rome.cpp that converts a positive integer into the Roman number system. The Roman number system has digits I
    8·1 answer
  • What number will be output by the console.log command on line 5?
    9·1 answer
  • How would a person giving a persuasive speech use projection to make a key point?
    9·2 answers
  • Question 5 of 10
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!