he program gives an output in increment of 5, if the first inputted integer is less than the second. The program written in python 3 goes thus
Answer:
Ok, so it's not letting me submit a text response, so I'll attach an image of my answer.
Explanation:
Answer:
System.out.println("Enter length:");
Scanner scan = new Scanner(System.in);
Double x = scan.nextDouble();
System.out.println("Enter 2 lengths:");
Double a = scan.nextDouble();
Double b = scan.nextDouble();
Rectangle rect = new Rectangle(x);
Rectangle rect2 = new Rectangle (a,b);
if (rect2.equals(rect)){
System.out.print("Congruent Rectangles");
}
else {
System.out.print("Different Rectangles");
}
}
}
Explanation:
<u>Home </u><u>and</u><u> Insert</u>
In Microsoft office, to create a text box you will go to insert and then there will be various options there and you will see text box marking. so you will just have to click on text box and you can create it however you want to do it.
It's such a easy step(◕ᴗ◕✿)