Answer: str[0].toUpperCase();
Explanation:
str[0] is pointing to the first character of the entire string and the code str[0].toUpperCase() will convert the characters to upper case if they are in lowercase and will remain unchanged if they are already in upper case.
The top-level domain is usually .com, .org, .net, and many more.
Answer:
6 hosts can have IP addresses on the LAN attached to the router interface
Explanation:
Given IP address
=> 192.168.192.10/29
It has a subnet mask of /29 which means it has 3 host bits. This is calculated by subtracting 29 from 32(number of bits in an IPV4)
Since there are 3 host bits, the total number of possible addresses is given by
=>
= 8 possible addresses.
Out of these 8 possible addresses, the first address will be the subnet id and the last address will be the broadcast address.
Therefore, there are only 6 addresses available for the hosts.
<em>Hope this helps!</em>
Answer:
Nope
Explanation:
You can use open office for free
Answer:
Answered below
Explanation:
public class CountVowels{
public static void main (String[] args){
Scanner in = new Scanner(System.in);
String words = in.nextline();
String vowels = "aeiouAEIOU";
int count = 0;
for( int i =0; I< words.length-1; I++){
for( int j = 0; j < vowels.length - 1; j++){
if(words [I] == vowels[j]){
count++;
}
}
}
System.out.print(count);
}
}