Java tutorial
//package com.java2s; public class Main { public static Boolean _isItReadable(String input) { int readableChar = 0; for (int i = 0; i < input.length(); i++) { int c = input.charAt(i); if (c >= 32 && c < 127) { readableChar++; } } return (readableChar > (input.length() * 0.75) ? true : false); } }