import java.util.*;
import java.io.*;
public class Labex06
{
public static void main(String []args)
{
print_header();
char []a = {'e','l',' ','g','a','t','o'};
char []b = new char[8];
char []c = new char[10];
String thecat = Arrays.toString (a);
b[0] = 'e';
b[1] = 'l';
b[2] = ' ';
b[3] = 'g';
b[4] = 'a';
b[5] = 't';
b[6] = 'o';
for(int i = 1; i-1<= 7;i++)
{
c[i-1] = (char) (-2720.0 + (6359.65 * i) -(5231.3167 * Math.pow(i,2)) + (2063.1875 * Math.pow(i,3)) - (421.9375 * Math.pow(i,4)) + (43.1625 * Math.pow(i,5)) - (1.7458333 * Math.pow(i,6)) + 0.5);
}
System.out.printf(" String a = %s%s%s%s%s%s%s\n",a[0],a[1],a[2],a[3],a[4],a[5],a[6]);
System.out.printf(" String b = %s%s%s%s%s%s%s\n", b[0],b[1],b[2],b[3],b[4],b[5],b[6]);
System.out.printf(" String c = %s%s%s%s%s%s%s\n", c[0],c[1],c[2],c[3],c[4],c[5],c[6]);
System.out.println("\n thecat =" + thecat);
}
public static void print_header()
{
System.out.println("Programmer: Section: LD01");
return;
}
}