Answer:
import java.util.Scanner;
public class DecimalToBinary {
public static String convertToBinary(int n) {
if(n == 0) return "0";
String binary = "";
while (n > 0) {
binary = (n % 2) + binary;
n /= 2;
}
return binary;
}
public static int convertToDecimal(String binary) {
int n = 0;
char ch;
for(int i = 0; i < binary.length(); ++i) {
ch = binary.charAt(i);
n = n*2 + (ch - '0');
}
return n;
}
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
String[] words = in.nextLine().split(",");
System.out.println(convertToBinary(convertToDecimal(words[0].trim()) + convertToDecimal(words[1].trim())));
in.close();
}
}
Explanation:
The word processor can be used for any kind of editing. The teacher can edit the exam paper in his word processor by using the the editing features of a word processor such as;
- Text Formatting Features: this can be used to charge the sizes and ways text appear on the exam paper.
- The teacher can Change the font type, size and style of the text on the exam paper.
- He or she can change the font color to red, yellow, etc., for any kind of illustrations.
- He can also Underline text by placing a line at the bottom of a text.
- The teacher can Bold text on the exam paper by making the text appear more darker than the rest text.
- The use of Italicizing key to making the text slant a little bit forward etc.
<h3>What is a word processor?</h3>
A word processor is also known as a word processing program in a computer system that helps to processes words or information.
Learn more about word processor from
brainly.com/question/985406
Getting accepted to college
Answer: Option 3.
<u>Explanation:</u>
Since Grayson wanted to become a video game developer but since he was only in school, the only short term goal he could achieve or could plan for now was to get accepted in the college where he could achieve his dream of becoming the developer of the video game.
In the college he would be able to learn the course, the techniques and develop the potentialities which would be required for him to become the developer of the video game.