Answer:
double x = 2.5;
double y = -1.5;
int m = 18;
int n = 4;
string s = "Storm";
string t = "Watch";
The output of the expression "x + n*y - (x+n)*y" is "6.25".
and the output of expression "m/n + m%n" is "6".
Explanation:
for the first expression,
x + n*y - (x+n)*y ,put value of every variables in it.
=2.5+4*(-1.5)-(2.5+4)*(-1.5)
=2.5-6.0-(6.5*(-1.5)
=-3.5+9.75
=6.25
for the second expression,
m/n + m%n, put value of every variables in it.
=18/4 +18%4
=4+2 ("/ will give quotient and % will give remainder")
=6
Answer:
a = float(input("Enter Side A: "))
b = float(input("Enter Side B: "))
c = float(input("Enter Side C: "))
d = float(input("Enter Side D: "))
e = float(input("Enter Side E: "))
area1 = 1.0* a * b
area2 = (a - c) * (d - e -b)
area3 = 0.5 * (a - c) * e
print ("Room Area: " + str(area1 + area2 + area3))
Explanation:
happy to help ^3^
Algorithm is part of computer science. You an learn it on Khan academy. (you probably werent looking for this but no one was answering)
Answer:
algorithm.
Explanation:
An algorithm can be defined as a standard formula or procedures which comprises of set of finite steps or instructions for solving a problem on a computer. The time complexity is a measure of the amount of time required by an algorithm to run till its completion of the task with respect to the length of the input.
Furthermore, the processing symbols and their functions used in developing an algorithm are oval (start or stop), diamond (decision-making), circle (on-page connector), parallelogram (input and output), rectangle (calculation), arrow (flow or direction) and pentagon (off-page connector).
Some of the characteristics of an algorithm include the following;
I. An algorithm can be written using pseudocode. A pseudocode refers to the description of the steps contained in an algorithm using a plain or natural language.
II. An algorithm can be visualized using flowcharts. A flowchart can be defined as a graphical representation of an algorithm for a process or workflow.
In conclusion, an algorithm is a sequence of precise instructions which result in a solution for solving problems using a computer system.
Main Answer:In the classic experimental design, there are two groups: the <u>treatment group and the control group.</u>
<u>Sub heading:</u>
<u>Explain treatment group and control group?</u>
Explanation:
1.The treatment group also known as the experimental group receives the treatment that the researcher is evaluating.
2.the control group on the other hand does not receive the treatment.
Reference link:
https://brainly.com
Hashtag:
#SPJ4