<span> HYPERTEXT TRANSFER PROTOCOL (HTTP)</span>
Answer:
To create a console that is suitable for children and families.
A program that is required to three (3) numbers. calculate and print their total is given below:
<h3>The Program</h3>
import java.util.Scanner;
public class SumAndAverage {
public static void main(String[ ] args) {
System.out.println("Enter three numbers - ");
// Accepting and finding sum of numbers.
int sum = 0;
Scanner sc = new Scanner(System.in);
for (int i = 0; i < 3; i++)
sum += sc.nextInt( );
// Printing sum and average.
System.out.println("Sum - " + sum);
System.out.println("Average - " + (sum / 3f));
}
}
The output would request three different numbers, then add them up, and display the output of the sum and then display or print their total
Read more about programming here:
brainly.com/question/23275071
#SPJ1
Answer:
Since the language isn’t stated, I’ll give answers in the two most-used (?) languages: Java and Python.
a) To print a’s value 3 times in the same line, in Java we would do:
System.out.print(a+a+a);
In Python, we would write:
print(a*3)
b) 2 times in different lines using one print statement
In Java, we would write
System.out.println(a+”\n”+a+”\n”+a);
In Python we would write:
print(a,a,a,sep=’/n’)
Hope this helps!
Answer:
A. simple to construct and easy to repair
Explanation:
A dynamic microphone works on the principle of electromagnetic principle. A diaphragm is attached to a coil of wire which helps in producing sound. Responding to the sound waves, the coil of the wire is vibrated by the diaphragm. A magnetic field is created by the magnet which is present inside the coil of wire. The electrical signal is generated in response to the motion of the coil. The speed of the motion produces the amount of the current.
Since the construction of a dynamic microphone is easier as compared to any other microphone, John is likely to opt to build one.