Answer:
import java.util.Scanner;
public class num2 {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int total = 0;
for(int i=0; i<5; i++){
System.out.println("Enter next Int: ");
total = total+in.nextInt();
}
System.out.println(total);
}
}
Explanation:
In the code above written in Java programming language, the for loop statement for(int i=0; i<5; i++) ensures that the loop goes from 0-4 a total of five times.
At each iteration it requests a user to enter an int. The number entered is stored in the variable total which is initially assigned 0.
When the loop finishes execution, total is printed out
Answer:
C. Appliance.
Explanation:
When a device or machine performs a single function or task, it is commonly referred to as an appliance. Examples of such is an iron, a calculator, a computer game, washing machines, refrigerators, e.t.c
<em>A Personal Digital Assistant (PDA)</em>, is a device, mostly mobile and handheld, that combines various computing features such as telephoning and networking. An example is a tablet. A PDA performs more than a single function.
<em>Minicomputer</em> is a computer usually small in physical size, that is midway in capabilities and support, between a microcomputer and a mainframe computer. An example is also a tablet and our smartphones. Minicomputers are also dedicated to various functions rather than a single function.
In summary, the option that best describes the situation in the question is an appliance.
<em>Hope this helps!</em>
Answer:
115200000 bits
Explanation:
Given Data:
Total Time = 3 minute = 3 x 60 sec = 180 sec
Sampling rate = 40,000 bits / sample
Each sample contain bits = 16 bits /sample
Total bits of song = ?
Solution
Total bits of song = Total Time x Sampling rate x Each sample contain bits
= 180 sec x 40,000 bits / sec x 16 bits /sample
= 115200000 bits
= 115200000/8 bits
= 14400000 bytes
= 144 MB
There are total samples in one second are 40000. Total time of the song is 180 seconds and one sample contains 16 bits. so the total bits in the song are 144 MB.
<u><em> </em></u>Answer:
1) Press Ctrl + Alt + Del
2) Click the power button in the bottom-right corner of the screen.
3) From the desktop, press Alt + F4 to get the Shut Down Windows screen.
and that's how to shut down your computer
<u><em></em></u>
<u><em>Please mark as brainliest if answer is right</em></u>
Have a great day, be safe and healthy
Thank u
XD