The answer is A. good luck
❤️The answer is supply chain effectiveness.
Hope you have a great day!
Answer:
I will code in JAVA.
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
float x;
float y;
float result;
Scanner input = new Scanner(System.in);
while(true){ <em>//this is an infinite loop</em>
x = input.nextFloat(); <em>//wait the input for x</em>
y = input.nextFloat(); <em>//wait the input for y</em>
if(y == 0) {
continue; <em>//next iteration without print.</em>
} else{
result = x/y;
System.out.print(result); <em>//print the result.</em>
}
}
}
}
Explanation:
To get the numbers, you need to import Scanner class, and use the method nextFloat() to admit floats and integers.
If y is 0 then, executes the continue statement, if not prints the division between x and y.
Answer: It would be the last three
Explanation: just did it on edge and got 100%
Answer:
n = int(input("Enter the n (positive odd integer): "))
for i in range(1, n+1, 2):
print(i*"*")
for i in range(n-2, 0, -2):
print(i*"*")
Explanation:
*The code is in Python.
Ask the user to enter the n
Create a for loop that iterates from 1 to n, incrementing by 2 in each iteration. Print the corresponding number of asterisks in each iteration
Create another for loop that iterates from n-2 to 1, decrementing by 2 in each iteration. Print the corresponding number of asterisks in each iteration