Answer:
import java.util.Scanner;
public class TestClock {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
System.out.println("Enter two integer numbers");
int num1 = in.nextInt();
int num2 = in.nextInt();
int newSum=num1+10;
System.out.println("The first number is "+num1);
do{
System.out.println(newSum);
newSum +=10;
}while (newSum <=num2);
}
}
Explanation:
Using Java Programming language
- Prompt user for the two inputs and save them as num1 and num2(Using the scanner class)
- Create a new Variable newSum = num1+10
- Create a do...while loop to continually print the value of newSum, and increment it by 10 while it is less or equal to num2
Answer:
Gradient, in mathematics, a differential operator applied to a three-dimensional vector-valued function to yield a vector whose three components are the partial derivatives of the function with respect to its three variables. The symbol for gradient is ∇.
Explanation:
The backside of the cup disappears and the fuel pours out due to the fact styrofoam is a trading name for polystyrene (PS) foams, Gasoline is crafted from a mixture of hydrocarbons, so it dissolves PS, generating a viscose paste.
Gasoline is crafted from a combination of volatile, flammable liquid hydrocarbons derived from petroleum and used as gas for internal-combustion engines. It is likewise used as a solvent for oils and fats. Gasoline is a form of gas crafted from crude oil and different petroleum liquids. Gasoline is mostly used as an engine gas in vehicles.
Learn more about gasoline at brainly.com/question/28762820
#SPJ4
Answer:
Explanation:
The following is written in Python. The function takes in a string as a parameter. It then sperates the string at every space. Then it rejoins the list of strings with hyphens. Finally, returning the newly created string with hyphens.
def chain_words(str):
string_split = str.split(" ")
seperator = '-'
hyphen_string = seperator.join(string_split)
return hyphen_string