The computer was invented by <span>Tom Warburton.</span>
Answer:
Any electrical device used on a house wiring circuit can, under certain conditions, transmit a fatal current. While any amount of current over 10 milliamps (0.01 amp) is capable of producing painful to severe shock, currents between 100 and 200 mA (0.1 to 0.2 amp) are lethal.
Explanation:
Answer:
import java.util.Scanner;
public class LabProgram {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
String num = in.nextLine();
boolean allDigits = true;
for (int i = 0; i < num.length(); i++) {
if (!Character.isDigit(num.charAt(i))) {
allDigits = false;
}
}
if (allDigits) {
System.out.println("yes");
} else {
System.out.println("no");
}
}
}
Explanation:
Output: 1995
Yes
Process finished with exit code 0
Answer:
pseudo code:
x=1
q=0
while x*x<h:
{
x += 1}
q=x-1
complete code in C language
#include <stdio.h>
int main() {
int h=19;
int q=0;
int x=1;
while ((x*x)<h){
x += 1;
}
q=(x-1);
printf("The sum of total perfect squares less than %d is: %d", h,q);
return 0;
}
Explanation:
first '%d' in print statement refers to h and second '%d' in print statement refers to q