Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Find the error and correct it:

• if(x>=3)

System.out.println(“ number is equal to 3 “) ;

System.out.println(“ or number is greater than 3 “) ;

else

System.out.println(“ number is not greater or equal to 3 “) ;


Correct the error in the following code : there is more than 1 error :


1-

importjava.util.Scanner; // import Scanner class publicclass We {

publicstaticvoid main(String[] args) {

Scanner input = newScanner(System.in);// create Scanner object System.out.println("number:");

intg= input.nextInt(); // Declare and read

switch(g==);

case1 :System.out.println("case1"); break;

case2 :System.out.println("case2"); break;

    


default :System.out.println("default"); }

}


2-

charg= 'a'; switch(g)

{

Case r :System.out.println("case1");

break;

case u: System.out.println("case2"); break;

default :System.out.println("default"); }


6-Write a program to calculate the area of a circle. Use the formula Pi * r * r to work the program. Remember Pi is a constant and r is a variable entered by the user at runtime (once the program is running). Format the answer to 2 decimal places.


Using Visual Basic Design and develop a simple application System that determine the most economical quantity to be stocked for each product that a manufacturing company has in its inventory this quantity called economics order quantity (EOQ) is calculated as following 


EOQ = sqrt (2RS/I)


what are the examples for hardware system requirements?


Outline any there measures as examples of how the cyber security individual targets can take to prevent cyber attacks


Describe any two possible individual or personal cyber impacts using examples


Entities. Attributes. Customer-

Customer Number, Name, Address, Telephone Number, Payment Number, Installation Number.  

Facility-

Facility Number, Employee Number, Equipment Number, Type.

Payment-

Amount, Payment Date, Customer Number, Facility Number, Payment Method.

Installation-

Address, Type, Name, Installation Number, Customer Number, Employee Number.

Equipment-

Inventory Number, Category, Type, Facility Number, Staff Number.

Staff-

Staff Number, Type, Name, Period, Telephone Number, Equipment Number.

Employee-

Employee ID, Designation, Address, Name, Salary, Facility Number, Telephone Number.


1.1.Check whether the provided logical design is normalized. If not, normalize the database by removing the anomalies.


Rewrite the following program using Switch:

if (x == 1) {

system.out.println("x is 1");

}

else if (x == 2) {

system.out.println("x is 2");

}

else {

system.out.println( "value of x unknown"); }



IPL Match Details

Write a program that reads all the match outcomes and summarizes the information of all the matches.

Points are given to the teams based on the outcome of the match.

A win earns a team 3 points. A draw earns 1. A loss earns 0.

The following information is expected:

MP: Matches Played

W: Matches Won

D: Matches Drawn (Tied)

L: Matches Lost

P: Points



LATEST TUTORIALS
APPROVED BY CLIENTS