True , to make your audience interested you should always give more information on the subject but don't bore them so that they wish for you to quit on time
print(x - int(x))
int(x) will round the float down to the nearest whole number x - int(x) subtracts that rounded value from the original float. This will leave the remaining decimal portion.
I hope this helps!
Answer:
Explanation:
The following program is written in Java. It asks the user for the two inputs and then uses those inputs in a for loop. The loop goes through each number checking to see if it is even or odd. If it is even it prints out Even: and the number after multiplying it by 3. If it is odd it prints out Odd: and the number after adding 10 to it. The output can be seen in the attached picture below.
import java.util.Scanner;
class Brainly {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
System.out.println("Enter number 1: ");
int num1 = in.nextInt();
System.out.println("Enter number 2:");
int num2 = in.nextInt();
for (int x = num1; x <= num2; x++) {
if ((x % 2) == 0) {
System.out.println("Even: " + (x*3));
} else {
System.out.println("Odd: " + (x+10));
}
}
}
}
Explanation:
The main theme of The hundred dresses is about the act of forgiving someone's mistake. i hope so
Answer:
rotate text is the correct answer