I belive the correct answer would be binary code because computers see the coding as 00100001
Answer:
import java.io.*;
public class Main
{
public static void main(String[] args) throws IOException {
BufferedReader bufferObject=new BufferedReader(new InputStreamReader(System.in));
String stringObject=bufferObject.readLine();
while(!stringObject.equals("99:99AM")){
System.out.println(convertedTime(stringObject));
stringObject=bufferObject.readLine();
}
}
public static String convertedTime(String stringObject){
String s=stringObject.substring(stringObject.length()-2);
String[] timeObject=stringObject.substring(0,5).split(":");
if(s.equals("AM")){
if(timeObject[0].equals("12")) return "00"+timeObject[1];
else return timeObject[0]+timeObject[1];
}
else{
if(timeObject[0].equals("12")) return "12"+timeObject[1];
else{
int hours=Integer.valueOf(timeObject[0]);
timeObject[0]=String.valueOf(12+hours);
return timeObject[0]+timeObject[1];
}
}
}
}
Explanation:
- Inside the main method run a while loop until stringObject is not equal to the string "99:99AM".
- Call the convertedTime method and display the results.
- Use the same hours and minutes except for 12th hour If the time is in AM.
- Use "00" instead of 12, if it is 12th hour.
- Add hours to 12, if the time is in PM and don't change anything in case of 12.
Answer: Social media
Explanation:
Social media is defined as the group of the internet based various applications that basically build on the foundation of technological and ideological of the web 2.0. It basically allow the exchange of the user content and creation.
It is the most flexible platform that enable the users with the huge experience. It is also known as free and open source platform. It basically contain the various content that are algorithm driven and machine learning.
Answer:
1.
Explanation:
The option Paula can choose to ensure that the animation she has created in her presentation repeats is the transition. She can find the option of transition from the Transitions tab.
After selecting the Transitions tab, choose the effect you want to create in your presentations. You can also choose the sound of transition, or either you want to create on one slide or all slides, etc.
Therefore, option 1 is correct.
B) observe hazards in your environment.