Not boxing because it is violent, but i would choose Baschetball . It is frendly and safe, but you have to sweat too at it. It is the best
Java application:
Java is a programming language and computing platform first released by Sun Microsystems in 1995. It has evolved from humble beginnings to power a large share of today’s digital world, by providing the reliable platform upon which many services and applications are built.
//create a class MathTest.java
public class MathTest {
public static void main(String[] args) {
//a. The square root of 37
System.out.println("The square root of 37= " + Math.sqrt(37));
//b. The sine and cosine of 300
System.out.println("The sine of 300=" + Math.sin(300));
System.out.println("The cosine of 300=" + Math.cos(300));
//c. The value of the floor, ceiling, and round of 22.8
System.out.println("The value of the floor 22.8=" + Math.floor(22.8));
System.out.println("The value of the ceiling 22.8=" + Math.ceil(22.8));
System.out.println("The value of the round 22.8=" + Math.round(22.8));
//d. The larger and the smaller of the character ‘D’ and the integer 71
int number = 'D';
System.out.println("The larger of the character ‘D’ and the integer 71=" + Math.max(number, 71));
System.out.println("The Smaller of the character ‘D’ and the integer 71=" + Math.min(number, 71));
//A random number between 0 and 20
System.out.println("A random number between 0 and 20= "+(int)(Math.random()* 20 + 1));
}
}
Output:
The square root of 37= 6.082762530298219
The sine of 300=-0.9997558399011495
The cosine of 300=-0.022096619278683942
The value of the floor 22.8=22.0
The value of the ceiling 22.8=23.0
The value of the round 22.8=23
The larger of the character ‘D’ and the integer 71=71
The Smaller of the character ‘D’ and the integer 71=68
A random number between 0 and 20= 10
Learn more about the topic Java application:
Answer:
C++.
Explanation:
#include <iostream>
using namespace std;
////////////////////////////////////////////////////////////////
void printPrime(int n) {
if (n > 0) {
cout<<2<<endl;
for (int i=3; i<=n; i++) {
bool isPrime = true;
for (int j=2; j<i; j++) {
if (i % j == 0) {
isPrime = false;
break;
}
}
if (isPrime == true)
cout<<i<<endl;
}
}
else {
cout<<"Invalid input";
}
}
int main() {
int n;
cout<<"Enter positive integer: ";
cin>>n;
printPrime(n);
return 0;
}
Answer:
192.168.228.0 255.255.255.224
Explanation:
192.168.228.0 255.255.255.128
subnet mask: defines the host and the network part of a ip
CIDR notation : is the shortened form for subnet mask that uses the number of host bits for defining the host and the network part of a ip
For example: 192.168.228.0 255.255.255.128 has CIDR equivalent of 192.168.228.0\25
To have atleast 20 hosts
20 ≤ (2^x) -2
x ≈5
with 5 host bits, we have 2^5-2 = 30 hosts per subnet
and 2^3 = 8 subnets
To get the subnet mask, we have 3 network bits
1110000 to base 10 = 2^7 + 2^6 +2^5= 224
192.168.228.0 255.255.255.224
Answer: No
Explanation: Spread spectrum transmission is the wireless transmission technique for the wide channel that helps in decrement of the potential interference.The transmission of signal is based on the varying the frequency knowingly to achieve larger bandwidth.
The use of spread spectrum transmission in the WLAN(wireless local area network)is used for the regulatory purpose The regulation is the controlling of the area through policies.Thus,security is not the service that is provided to WLAN by spread spectrum transmission.
Answer:
Its A Dynamic Web Page
Explanation:
Answer:
outline 3 computer system problem that could harm people and propose the way avoid the problemare:_