The answer is OCR or optical character reader.
This device is used to electronically sorts mails by zip code.
This device reads texts from the papers or documents, images and pdf files, and then convert it into editable file.
Answer: use Microsoft Power Point
Explanation:
Set up a self-running presentation
To set up a PowerPoint presentation to run automatically, do the following:
On the Slide Show tab, click Set Up Slide Show.
Under Show type, pick one of the following:
To allow the people watching your slide show to have control over when they advance the slides, select Presented by a speaker (full screen).
Answer:
Explanation:
The following code is written in Java. The function takes in the random object and creates a random number where it generates a random number and prints out the * characters, if the random number and the input num are the same it prints out both values and ends the function.
import java.util.Random;
class Brainly {
public static void main(String[] args) {
Random r = new Random();
randomStar(r, 12);
System.out.println();
randomStar(r, 19);
}
public static void randomStar(Random r, int num) {
while (true) {
int randomNum = r.nextInt(19) + 5;
if (randomNum != num) {
for (int x = 0; x < randomNum; x++) {
System.out.print("*");
}
System.out.print("\n");
} else {
for (int x = 0; x < randomNum; x++) {
System.out.print("*");
}
System.out.print("\n");
System.out.println("Random Number: " + randomNum);
System.out.println("Input Number: " + num);
break;
}
}
}
}
Answer:
Check the explanation
Explanation:
//GenerateTriangleNumbers.java
import java.util.Arrays;
import java.util.Scanner;
public class GenerateTriangleNumbers {
public static int[] generateTriangleNumbers(int x){
int arr[] = new int[x];
int sum = 0;
for(int i = 1;i<=x;i++){
sum += i;
arr[i-1] = sum;
}
return arr;
}
public static void main( String [] args ){
int n;
Scanner in = new Scanner(System.in);
System.out.print("Enter n: ");
n = in.nextInt();
System.out.println(Arrays.toString(generateTriangleNumbers(n)));
}
}
Kindly check the attached image below for the code output.