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:
A sample HTML code that contains headers, paragraph tags, hyperlinks is
- <h1> This is a header </h1>
- <h2> This is a subtitle heading </h2>
- <p> This is a paragraph </p>
- <a href=”www.brainly.com”> Brainly Website </a>
<h3>What is HTML?</h3>
This is the building block of a website and is an acronym that means Hypertext Markup Language.
The HTML code that can be used to add a sample image is: "<img src="pic_Brainly.jpeg" alt="Brainly" width="500" height="333">
The src code means the specific location of the external resource
The width and height show how tall and wide the image would be.
The alt shows the alternative information for the image that can be seen when a person hovers over the image on the website.
Read more about HTML and CSS here:
brainly.com/question/24051672
#SPJ1
I think it would be A. Ohm's law.
hope this helps.
The focal point is where the eye is drawn to in a photo or image.