Saturday, 8 December 2012

Sample Cover Letter - Internship


Sample Cover Letter - Internship

FirstName LastName
Name University
Street
City, State Zip
cell: 555-555-5555

Date

Name
Job Title
Company
Street
City, State Zip

Dear Ms. LastName,

I am interested in applying for the scientific research summer internship position that was listed through the Name Tauxff Career Services Office.

I have had a great deal of laboratory experience in chemistry, biology, and geology, both indoors and in the field. In the lab, I have performed chemical reactions and I am currently using microscopes to observe many specimens. In environmental field studies, I have conducted outdoor labs to assess water chemistry.

Last summer, I worked as conservation assistant at XXX National lab. I am seeking to complement this outdoor experience with a research internship in order to acquire the background necessary for a future career in scientific research.

I believe that I would an asset to your program. This internship would provide me with the ideal opportunity to assist at your organization and to expand my research skills.

I will call next week to see if you agree that my qualifications seem to be a match for the position. If so, I hope to schedule an interview at a mutually convenient time. I look forward to speaking with you.

Thank you for your consideration.

Sincerely,

Signature

FirstName Last


Friday, 7 December 2012

Add,Subtract,Multiply,Divide two number in Java


import java.awt.*;
import java.awt.event.*;
class IFrame extends Frame
{
Label l1;
Label l2;
Label l3;
Label l5;
Label l6;
final TextField t1;
final TextField t2;
final TextField t3;
IFrame()

super("IDE to Add Values");
setSize(500,300);
setVisible(true);
setBackground(Color.ORANGE);
Panel p=new Panel();
l1=new Label("Enter first Value");
l2=new Label("Enter second Value");
l3=new Label("RESULT");
l5=new Label(" ");
l6=new Label(" ");
t1=new TextField(5);
t2=new TextField(5);
t3=new TextField(5);
Button b1=new Button("CLOSE");
Button b2=new Button("ADD");
Button b3=new Button("SUBTRACT");
Button b4=new Button("MULTIPLY");
Button b5=new Button("DIVIDE");
Button b6=new Button("CLEAR");
p.setLayout(new GridLayout(7,2));
p.add(l1);
p.add(t1);
p.add(l2);
p.add(t2);
p.add(l3);
p.add(t3);
p.add(b2);
p.add(b1);
p.add(b3);
p.add(b6);
p.add(b4);
p.add(l5);
p.add(b5);
p.add(l6);
add(p,BorderLayout.CENTER);
b1.addMouseListener(new MouseAdapter()
{
public void mouseClicked(MouseEvent e)
{
System.exit(0);
}});
b2.addMouseListener(new MouseAdapter()
{
public void mouseClicked(MouseEvent e)
{
String s1=t1.getText();
String s2=t2.getText();
int x=Integer.parseInt(s1);
int y=Integer.parseInt(s2);
int z=x+y;
String s3=" "+z;
t3.setText(s3);
((Component)e.getSource()).setBackground(Color.PINK);
}});
b3.addMouseListener(new MouseAdapter()
{
public void mouseClicked(MouseEvent e)
{
String s1=t1.getText();
String s2=t2.getText();
int x=Integer.parseInt(s1);
int y=Integer.parseInt(s2);
int z=x-y;
String s3=" "+z;
t3.setText(s3);
((Component)e.getSource()).setBackground(Color.GREEN);
}});
b4.addMouseListener(new MouseAdapter()
{
public void mouseClicked(MouseEvent e)
{
String s1=t1.getText();
String s2=t2.getText();
int x=Integer.parseInt(s1);
int y=Integer.parseInt(s2);
int z=x*y;
String s3=" "+z;
t3.setText(s3);
((Component)e.getSource()).setBackground(Color.GREEN);
}});
b5.addMouseListener(new MouseAdapter()
{
public void mouseClicked(MouseEvent e)
{
String s1=t1.getText();
String s2=t2.getText();
int x=Integer.parseInt(s1);
int y=Integer.parseInt(s2);
int z=x/y;
String s3=" "+z;
t3.setText(s3);
((Component)e.getSource()).setBackground(Color.GREEN);
}});
/*b6.addMouseListener(new MouseAdapter()
{
public void mouseClicked(MouseEvent e)
{
String s1=t1.getText();
String s2=t2.getText();
t1.setText(NULL);
t2.setText(NULL);
t3.setText(NULL);
((Component)e.getSource()).setBackground(Color.GREEN);
}});*/
}}
class calculator
{
public static void main(String as[])
{
IFrame f=new IFrame();
}}