Answer:
import java.util.Scanner;
public class ANot {
public static void main(String[] args) {
Scanner in = new Scanner (System.in);
System.out.println("How many cookies did you eat today");
int numOfCookies = in.nextInt();
double numCalories = (numOfCookies*300)/4;
System.out.println("The total number of calories you consumed in "+numOfCookies+" cookies is " +
" "+numCalories);
}
}
Explanation:
This code is implemented in Java.
- We know from the question that 4 cookies contain 300 calories
- Therefore number of calories consumed = (number of cookies eaten*300)/4
- To implement this in java we used the scanner class to prompt user for the input
- save the input to a variable and write mathematical expression for the number of calories consumed
- Then output the result
Answer:
The answer is "2"
Explanation:
In the given question, the answer is "2" because if the user is new. so very first, the user creates its account and after creating his account, he will update his account value.
When the user creates its account, the value will be 1, and when he updates its account value. so, the value will be 2, that's why 2 is the correct answer.
A: provides its services to the Web server in a way that is totally transparent to the client browser.
Answer:
A. Improving human resource management by offering more information to employees about available services, from annual leave arrangements to retirement plans.
Explanation:
e-commerce is a short for electronic commerce and it can be defined as a marketing strategy that deals with meeting the needs of consumers, by selling products or services to the consumers over the internet.
This ultimately implies that, e-commerce is strictly based on the buying and selling of goods or services electronically, over the internet or through a digital platform. Also, the payment for such goods or services are typically done over the internet such as online payment services.
Some of the benefit of introducing an e-commerce solution to an organisation's includes;
I. Improving internal communication by offering various means for exchanging information with minimum effort and cost.
II. Reducing the personalisation of services.
III. Supporting purchasing functions by offering responsive pricing models based on the analysis of market status.
Answer:
The correct answer to the following question will be option C.
172.16.80.1-172.16.87.254
Explanation:
IP Address: IP Address stands for Internet Protocol Address, a unique numerical label allotted to every computer network that are connected to the network of the computer and communicate through the internet protocol.
- An IP address can be separated by periods and having four numbers that are called Octet. Range of IP address can be from 0 to 255.
- We have to keep the first 21 bits and start setting all from the 22nd bit on to 0 (zero).
- To get the suitable and the correct range of the address, we add and subtract 1 from the given broadcast address i.e.,172.16.85.0/21.
So, option C is the right answer and no other option is usable according to the given explanation and the address given by the administrator.