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
r-ruslan [8.4K]
2 years ago
13

C programming fundamentals for everyone​

Engineering
1 answer:
densk [106]2 years ago
6 0

Answer:I am so sorry but here are no questions, thanks for the points

Explanation:Have a nice day

You might be interested in
Write a complete C++ program that is made of functions main() and rShift(). The rShift() function must be a function without ret
erma4kov [3.2K]

Answer:

Explanation:

attached is an uploaded picture to support the answer.

the program is written thus;

#include<iostream>

using namespace std;

// function declaration

void rShift(int&, int&, int&, int&, int&, double&);

int main()

{

   // declare the variables

   int a1, a2, a3, a4;

   int maximum = 0;

   double average = 0;

   // inputting the numbers

   cout << "Enter all the 4 integers seperated by space -> ";

   cin >> a1 >> a2 >> a3 >> a4;

   cout << endl << "Value before shift." << endl;

   cout << "a1 = " << a1 << ", a2 = " << a2 << ", a3 = "  

        << a3 << ", a4 = " << a4 << endl << endl;

   // calling rSift()

   // passing the actual parameters

   rShift(a1,a2,a3,a4,maximum,average);

   // printing the values

   cout << "Value after shift." << endl;

   cout << "a1 = " << a1 << ", a2 = " << a2 << ", a3 = "  

           << a3 << ", a4 = " << a4 << endl << endl;

   cout << "Maximum value is: " << maximum << endl;

   cout << "Average is: " << average << endl;

}

// function to right shift the parameters circularly

// and calculate max, average of the numbers

// and return it to main using pass by reference

void rShift(int &n1, int &n2, int &n3, int &n4, int &max, double &avg)

{

   // calculating the max

   max = n1;

   if(n2 > max)

     max = n2;

   if(n3 > max)

     max = n3;

   if(n4 > max)

     max = n4;

   // calculating the average

   avg = (double)(n1+n2+n3+n4)/4;

   // right shifting the numbers circulary

   int temp = n2;

   n2 = n1;

   n1 = n4;

   n4 = n3;

   n3 = temp;

}

8 0
3 years ago
Hi, everyone I'm a high school student in Texas. My engineering teacher is asking us to find an active engineer to complete a li
jenyasd209 [6]

Answer:ill look it up

Explanation:

6 0
2 years ago
A rigid, sealed tank initially contains 2000 kg of water at 30 °C and atmospheric pressure. Determine: a) the volume of the tank
Bad White [126]

Given:

mass of water, m = 2000 kg

temperature, T = 30^{\circ}C = 303 K

extacted mass of water = 100 kg

Atmospheric pressure, P = 101.325 kPa

Solution:

a) Using Ideal gas equation:

PV = m\bar{R}T                                        (1)

where,

V = volume

m = mass of water

P = atmospheric pressure

\bar{R} = \frac{R}{M}

R= Rydberg's constant = 8.314 KJ/K

M = molar mass of water = 18 g/ mol

Now, using eqn (1):

V = \frac{m\bar{R}T}{P}

V = \frac{2000\times \frac{8.314}{18}\times 303}{101.325}

V = 2762.44 m^{3}

Therefore, the volume of the tank is V = 2762.44 m^{3}

b) After extracting 100 kg of water, amount of water left, m' = m - 100

m' = 2000 - 100 = 1900 kg

The remaining water reaches thermal equilibrium with surrounding temperature at T' = 30^{\circ}C = 303 K

At equilibrium, volume remain same

So,

P'V = m'\bar{R}T'

P' = \frac{1900\times \frac{8.314}{18}\times 303}{2762.44}      

Therefore, the final pressure is P' = 96.258 kPa

4 0
3 years ago
Moonbeam-Musel (MM), a manufacturer of small appliances, has a large injection molding department. Because MM's CEO, Crosscut Sa
forsale [732]

Answer: Because MM's CEO, Crosscut Sal, is a stickler for keeping machinery running, the company stocks quick-change replacement modules for the two most common ..

Explanation:

7 0
2 years ago
B. Is the “Loading Time” of any online application a functional or a non-functional requirement? Can the requirement engineers s
Oksi-84 [34.3K]

Answer:

non-functional requirement,

Yes they can.

The application loading time is determined by testing system under various scenarios

Explanation:

non-functional requirement are requirements needed to justify application behavior.

functional requirements are requirements needed to justify what the application will do.

The loading time can be stated with some accuracy level after testing the system.

4 0
2 years ago
Other questions:
  • Compare automation and autonomous
    12·1 answer
  • The density of oxygen contained in a tank is 2.0 kg/m3 when the temperature is 25 °C. Determine the gage pressure of the gas if
    12·1 answer
  • An atomic force that can attract or repel ferrous substances is<br> known as:
    14·1 answer
  • Sed is a multipurpose tool that combines the work of several filters. sed performs noninteractive operations on a data stream. s
    12·1 answer
  • Sea X una variable aleatoria con funci´on de densidad
    9·1 answer
  • 10. Power = (Distance * Force) / Time
    7·1 answer
  • The number of pulses per second from IGBTs is referred to as
    10·1 answer
  • I need to solve for d
    11·2 answers
  • What is the purpose of placing a large electrolytic capacitor in the output side of a power supply
    11·1 answer
  • What is the name of this piece?
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!