Answer:
import java.util.Scanner;
public class ss11{
public static void main (String[]args) {
Scanner keyboard = new Scanner (System.in)
String a1, a2, a3, a4, a5;
int i1, i2, i3, i4, i5;
System.out.println("Enter a four bit binary number:");
a1= keyboard.next();
a2= a1.substring(0,1);
a3= a1.substring(1,2);
a4= a1.substring(2,3);
a5= a1.substring(3,4);
i1 = Integer.parseInt(a2);
i2 = Integer.parseInt(a3);
i3 = Integer.parseInt(a4);
i4 = Integer.parseInt(a5);
i1= i1 * 8;
i2= i1 * 4;
i3= i1 * 2;
i4= i1 * 1;
i5= i1+i2+i3+i4;
System.out.println("The converted decimal number is: +i5);
}
}
Explanation:
Answer:
public static void printDottedLine(){
System.out.print(".....\n");
}
Explanation:
This method returns nothing so its return type is void
It also accepts no parameters so the argument list is empty
When called it executes the System.out.print(".....\n"); which prints out 5 dots
See a complete program below:
public class TestClock {
public static void main(String[] args) {
printDottedLine();
}
public static void printDottedLine(){
System.out.print(".....\n");
}
}
A statement best describes the Tell Me feature in PowerPoint 2016 is that: D. it opens a search field that can be used to look up old versions of presentations.
<h3>What is PowerPoint 2016?</h3>
PowerPoint 2016 refers to a software application that was designed and developed by Microsoft Inc., so as to avail its end users the ability to create various slides which can be used during a presentation.
In PowerPoint 2016, the Tell Me feature is a tool which opens a search field that can be used by end users to look up or search old versions of presentations.
Read more on PowerPoint here: brainly.com/question/26404012
#SPJ1
The action that an operating system performs is that it facilitates a computer's basic functions between hardware and software.
<h3>What is the purpose of an operating system in a computer?</h3>
An operating system (OS) is known to be a term that is used in computing and it is said to be one which the program, after being started is said to be loaded into the computer using the boot program.
It is one that helps to handle all of the other application programs in a computer.
The application programs is known to also make use of the operating system and as such, The action that an operating system performs is that it facilitates a computer's basic functions between hardware and software.
Learn more about operating system from
brainly.com/question/22811693
#SPJ1
i believe the answer would be B