Java
public class MainProgram { public static void main(String[] args) { int[] the = { 'T', 'h', 'e' }; int[] most = { 'M', 'o', 's', 't' }; int[] creative = { 'C', 'r', 'e', 'a', 't', 'i', 'v', 'e' }; int[] way = { 'W', 'a', 'y' }; int question = '?'; double x = -3.18906605923E-2; int tTotalThe = 0; int mTotalMost = 0; int cTotalCreative = 0; int wTotalWay = 0; for(int i : the) { tTotalThe += i; } for(int i : most) { mTotalMost += i; } for(int i : creative) { cTotalCreative += i; } for(int i : way) { wTotalWay += i; } System.out.println((int)((tTotal*xThe*x)-(mTotal*xMost*x)-(cTotal*xCreative*x)-(wTotal*xWay*x)-(question*x))); }//SSCE }//good1 Output:
42