Answer: formula tab, defined names, name manager
Explanation:
ed 2020
Answer:
Spiral of silence
Explanation:
The spiral of silence theory states that people remain silent regarding a topic when they feel that their views are in opposition with the rest of the majority.
As stated in the question, the newspaper's stories suggest that majority of the people support cutting taxes, this leads people who supoort raising taxes to not air their opinions because they think that everyone else supports cutting taxes like the papers say.
Answer:
See the code below and the algorithm explanation on the figure.
Explanation:
The explanation in order to get the answer is given on the figure below.
Solving this problem with C. The program is given below:
#include <stdio.h>
int main(void) {
int n, Even=0, Odd=0, Zeros=0;
for (;;) {
printf("\nEnter the value the value that you want to check(remember just integers): ");
//IF we input a non-numeric character the code end;
if (scanf("%d", &n) != 1) break;
if (n == 0) {
Zeros++;
}
else {
if (n % 2) {
Even++;
}
else {
Odd++;
}
}
}
printf("for this case we have %d even, %d odd, and %d zero values.", Even, Odd, Zeros);
return 0;
}
Answer:
Explanation:
Natural languages are used for communication between people and programming languages enable human to interact with machines.
Answer:
import sys
import turtle
import random
def n_pointed_star(total_points):
if total_points <= 4:
raise ValueError('Not enough total_points')
area = 150
for coprime in range(total_points//2, 1, -1):
if greatest_common_divisor(total_points, coprime) == 1:
start = turtle.position()
for _ in range(total_points):
turtle.forward(area)
turtle.left(360.0 / total_points * coprime)
turtle.setposition(start)
return
def greatest_common_divisor(a, b):
while b != 0:
a, b = b, a % b
return a
turtle.reset()
n_pointed_star(5)
Explanation:
- Inside the n_pointed_star function, check whether the total no. of points are less than or equal to 4 and then throw an exception.
- Loop through the total_points variable and check whether the result from greatest_common_divisor is equal to 1 or not and then set the starting position of turtle and move it.
- Create the greatest_common_divisor which takes two parameters a and b to find the GCD.
- Finally reset the turtle and call the n_pointed_star function.