Answer:
<u>Output</u>
Enter first number:
1
Enter second number:
2
Enter third number:
3
Enter fourth number:
4
Average: 2.5
Explanation:
Below is the java program to calculate the average of four numbers:-
import java.util.Scanner;
public class Average {
public static void main(String[] args){
int a,b,c,d;
double average=0.0;
Scanner s=new Scanner(System.in);
System.out.println("Enter first number: ");
a=s.nextInt();
System.out.println("Enter second number: ");
b=s.nextInt();
System.out.println("Enter third number: ");
c=s.nextInt();
System.out.println("Enter fourth number: ");
d=s.nextInt();
average=(a+b+c+d)/4.0;
System.out.println("Average: "+average);
}
}
Answer:
Moore’s law states that processor speeds, or overall processing power for computers will double every two years.
Explanation:
- Moore’s law is more than an observation than a law which was originated in 1970. The observation is about the number of transistors that is present in any system or an integrated system that will be doubled every couple of years.
- The real-world application of Moore's law can be seen during computing your business taxes, piloting a spaceship, or changing the television station, etc.
As previously said, the three highly important qualities of validity, accuracy, and completeness can be expanded into the information quality of integrity.
For information to be valuable and to meet the definition of information, it must largely have the characteristics of relevance, availability, and timeliness. Accuracy, completeness, consistency, distinctiveness, and timeliness are five qualities of high-quality information. For information to be accurate and valuable, it must be of high quality. Standard attributes, commonly referred to as global attributes, work with a wide variety of elements. The essential attributes such as accesskey, class, contenteditable, contextmenu, data, dir, hidden, id, lang, style, tabindex, and title are included in them.
Learn more about information here-
brainly.com/question/5042768
#SPJ4