Computers and Technology
22.07.2020 08:31
161
224
10
Solved by an expert

What might a designer need to consider when choosing an appropriate energy source

What might a designer need to consider when choosing an appropriate energy source for products and power systems
Show Answers
cupcake3103670
cupcake3103670
4,8(79 marks)

one just the right power storage if it is not the right power storage it could over heat or catch fire

Explanation:

GreenHerbz206
GreenHerbz206
4,4(3 marks)

Explanation:

#include <cstdarg>

#include <iostream>

using namespace std;

double average ( int cnt, ... )

{

 va_list arg_avg;                    

 double sum_no = 0;

 va_start ( arg_avg, cnt );          

 for ( int x = 0; x < cnt; x++ )

 {

   sum_no += va_arg ( arg_avg, int ); // Adds the next value in argument list to sum.

 }

 va_end ( arg_avg );                  

 return sum_no / cnt;                      

}

int main()

{

 cout<< average ( 2, 12,13 ) <<endl;

}

Here va_list can declare variables which can hold variable number of values. va_start to initialize and va_end to clean up the list.

Popular Questions about the subject: Computers and Technology

How is line 2 above conceptually similar to the discussion of type broadening?...
Computers and Technology
02.02.2023 15:20
As the network engineer, you are asked to design an IP subnet plan that calls...
Computers and Technology
20.06.2021 07:57
Any entity or object that consists of parts, each of which has a relationship...
Computers and Technology
17.01.2022 02:34
A technician is configuring a switch to allow access both to IP phones and...
Computers and Technology
20.08.2021 16:34
The pose is when the character s cog is at its lowest point and the character...
Computers and Technology
05.09.2021 01:34
Write a static method named anglepairs that accepts three angles (integers),...
Computers and Technology
12.11.2021 12:45
Define a function sum_file that consumes a string representing a filename...
Computers and Technology
04.11.2021 02:55
Which of the following creates an array of 25 components of the type int?...
Computers and Technology
20.01.2020 16:12
Agraphic designer purchased a new device. the purpose is to convert her sketches...
Computers and Technology
31.05.2022 09:50
Create a c# console program named tipcalculationthat includes two overloaded...
Computers and Technology
25.03.2023 02:26

New questions by subject

Dexter has 56 tiles left from tiling his bathroom floor, and he would like...
Mathematics
19.05.2022 07:26
Last month Donovan ran 48 miles. James ran m miles. Donovan ran 3 times as...
Mathematics
14.12.2021 08:44
Write as an expression and solve (show your work) One fourth the difference...
Mathematics
28.08.2020 00:26
To solve the linear equation. Help thank you...
Mathematics
19.11.2022 09:15
Jasmine correctly answered 9 out of 10 of the game questions. What percent...
Mathematics
20.09.2020 20:42
In order for money to work properly, there can be only a certain amount of...
Business
21.01.2021 03:27
Ito ang unti unting paglipat ng kapangyarihan sa mga Pilipinong mamuno sa...
Advanced Placement (AP)
20.09.2020 05:44
The largest biotech company in the world also responsible for GMOs in food...
Chemistry
01.05.2021 07:09
Discuss your general reactions in relation to the theory of Observational...
Advanced Placement (AP)
18.12.2022 06:24
At the start of the year, 15 chameleons were introduced into a zoo. The population...
Mathematics
29.06.2022 22:16
#
#
#
#
# #

We expand our knowledge with many expert answers