Answer:
// here is code in java.
import java.util.*;
// class definition
class Main
{
// method that return the digits of number
public static void dig(int num)
{
// while loop
while(num>0)
{
// print the digits
System.out.println(num%10);
num=num/10;
}
}
//driver method
public static void main (String[] args) throws java.lang.Exception
{
try{
// scanner object to read input string
Scanner s=new Scanner(System.in);
// variable
int num;
System.out.print("please enter the number: ");
//read the number
num=s.nextInt();
// validate the input, read a positive number only
while(num<=0)
{
System.out.print("enter a positive number only:");
num=s.nextInt();
}
System.out.println("digit of number are:");
// call the function
dig(num);
}catch(Exception ex){
return;}
}
}
Explanation:
Read a number from user and assign it to variable "num".Check if it is positive or not.If input is negative then ask user to again enter a positive number till user enter a positive number.Then call the function with input number. In this method it will find the digits of the number in the while loop using modulus "%" operator.
Output:
please enter the number: -345
enter a positive number only:1234
digit of number are:
4
3
2
1
I honestly have no idea on what this is... but im guessing its some sort of tool or food in somebodys mouth... probably isn't but oh well..
The ribbon is a graphical control element in the form of a set of toolbars, it is placed on several tabs and helps users to use commands efficiently and directly. The option to edit <span>a font, including underlining is part of the HOME ribbon. (Solution: A)
The ribbon can be customized in order to contain the tabs you as a user need.</span>
Answer: Its the is the centralized management of the flow of goods and services and includes all processes that transform raw materials into final products. By managing the supply chain, companies are able to cut excess costs and deliver products to the consumer faster.
It is a management of the flow of goods, data, and finances related to a product or service, from the procurement of raw materials to the delivery of the product at its final destination.
Explanation: ik its long but hope it helps
Its simple just 255.255.255.224 or /27 which give you total 32 host with 8 subnets but host that can be assigned are 30 because one is going to be the broadcast address while the other one is going to start the next subnet so that's why we can't use 32.