Answer:
import java.io.*;
public class Larger {
public static void main(String[] args) throws IOException{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));// reading input from buffered reader
int a,max=-99999,i;
for(i=1;i<=5;i++)
{
a=Integer.parseInt(br.readLine());//converting string input string to int
if(a >max)
max=a;
}
System.out.println("Maximum value : "+max);
}
Explanation:
Answer:
import java.util.Scanner; public class Salesman2 {
public static void main(String[] args) { // TODO Auto-generated method stub double CommissionRate;
double TotalSales, Commission;
Scanner Read = new Scanner (System.in); System.out.println("Please enter total sales "); TotalSales=Read.nextDouble();
if (TotalSales<500)
CommissionRate=0.0;
else if (TotalSales>=500 && TotalSales <1000) CommissionRate=0.05;
else
CommissionRate=0.08;}
Commission = CommissionRate * TotalSales;
System.out.println("The Commision is: "+ Commission); }
}
}
Answer:
Convergent network
Explanation:
In networking, computers devices are connected together to communicate and share resources. Devices like routers and switches are examples of intermediate network devices and computers, smartphones, tablets and IP phones are all examples of end devices in a network.
In the past, dedicated networks are installed for separate voice, text and video packets. But as information technology evolves, one network is used for all three packets. This network is called convergent network.
Answer:
The answer is "Option a"
Explanation:
A method is a technique, that associated with both a message and an object. It includes information, behavior, and actions of an interface defining, how the object can be used, and wrong choices can be described as follows:
- In option b, It includes parameters in the method.
- In option c, It contains a parameter, that may be one or more.
- In option d, It contains one parameter also.