rename folders

This commit is contained in:
Xevion
2019-09-15 14:13:05 -05:00
parent 50b7c09918
commit c3872f1309
22 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
import static java.lang.System.*;
import java.io.File;
import java.io.FileNotFoundException;
import java.util.Scanner;
public class problem3 {
public static void main(String[] args ) throws FileNotFoundException {
// Constants
File input = new File("input1.dat");
Scanner read = new Scanner(input);
int lines = read.nextInt();
read.nextLine();
// Driver Code
for (int i = 0; i < lines; i++)
out.println(read.nextLine().length() <= 140 ? "tweet" : "not a tweet");
}
}