[Android Q&A, Help & Troubleshooting] asdfglkjhg:
Please Can Someone help me to get hands on the error in this source code for 2 subjects gpa calculator as it is giving me Force Close

Here`s the source code

"

package com.gado.e001;

import android.app.Activity;

import android.os.Bundle;

import android.view.View;

import android.view.View.OnClickListener;

import android.widget.Button;

import android.widget.CompoundButton;

import android.widget.CompoundButton.OnCheckedChangeListener;

import android.widget.EditText;

import android.widget.RadioButton;

import android.widget.Toast;

public class MainActivity extends Activity {

RadioButton gradea1, gradeb1, gradec1, graded1, gradea2, gradeb2, gradec2,

graded2;

EditText hours1, hours2;

Button calc;

float fgrade1, fgrade2, fhours1, fhours2;

float Result = fgrade1 + fgrade2 + fhours1 + fhours2;

public void Identify() {

gradea1 = (RadioButton) findViewById(R.id.radioButton1);

gradeb1 = (RadioButton) findViewById(R.id.radioButton2);

gradec1 = (RadioButton) findViewById(R.id.radioButton3);

graded1 = (RadioButton) findViewById(R.id.radioButton4);

gradea2 = (RadioButton) findViewById(R.id.radioButton5);

gradeb2 = (RadioButton) findViewById(R.id.radioButton6);

gradec2 = (RadioButton) findViewById(R.id.radioButton7);

graded2 = (RadioButton) findViewById(R.id.radioButton8);

hours1 = (EditText) findViewById(R.id.editText1);

hours2 = (EditText) findViewById(R.id.editText2);

calc = (Button) findViewById(R.id.button1);

}

public void getting() {

gradea1.setOnCheckedChangeListener(new OnCheckedChangeListener() {

@Override

public void onCheckedChanged(CompoundButton buttonView,

boolean isChecked) {

if (isChecked) {

fgrade1 = 4f;

}

else{

Toast.makeText(getBaseContext(), "", Toast.LENGTH_SHORT).show();

}

}

});

gradeb1.setOnCheckedChangeListener(new OnCheckedChangeListener() {

@Override

public void onCheckedChanged(CompoundButton buttonView,

boolean isChecked) {

if (isChecked) {

fgrade1 = 3f;

}

else{

Toast.makeText(getBaseContext(), "", Toast.LENGTH_SHORT).show();

}

}

});

gradec1.setOnCheckedChangeListener(new OnCheckedChangeListener() {

@Override

public void onCheckedChanged(CompoundButton buttonView,

boolean isChecked) {

if (isChecked) {

fgrade1 = 2f;

}

else{

Toast.makeText(getBaseContext(), "", Toast.LENGTH_SHORT).show();

}

}

});

graded1.setOnCheckedChangeListener(new OnCheckedChangeListener() {

@Override

public void onCheckedChanged(CompoundButton buttonView,

boolean isChecked) {

if (isChecked) {

fgrade1 = 1f;

}

else{

Toast.makeText(getBaseContext(), "", Toast.LENGTH_SHORT).show();

}

}

});

gradea2.setOnCheckedChangeListener(new OnCheckedChangeListener() {

@Override

public void onCheckedChanged(CompoundButton buttonView,

boolean isChecked) {

if (isChecked) {

fgrade2 = 4f;

}

else{

Toast.makeText(getBaseContext(), "", Toast.LENGTH_SHORT).show();

}

}

});

gradeb2.setOnCheckedChangeListener(new OnCheckedChangeListener() {

@Override

public void onCheckedChanged(CompoundButton buttonView,

boolean isChecked) {

if (isChecked) {

fgrade2 = 3f;

}

else{

Toast.makeText(getBaseContext(), "", Toast.LENGTH_SHORT).show();

}

}

});

gradec2.setOnCheckedChangeListener(new OnCheckedChangeListener() {

@Override

public void onCheckedChanged(CompoundButton buttonView,

boolean isChecked) {

if (isChecked) {

fgrade2 = 2f;

}

else{

Toast.makeText(getBaseContext(), "", Toast.LENGTH_SHORT).show();

}

}

});

graded2.setOnCheckedChangeListener(new OnCheckedChangeListener() {

@Override

public void onCheckedChanged(CompoundButton buttonView,

boolean isChecked) {

if (isChecked) {

fgrade2 = 1f;

}

else{

Toast.makeText(getBaseContext(), "", Toast.LENGTH_SHORT).show();

}

}

});

fhours1 = Float.parseFloat(hours1.getText().toString());

fhours2 = Float.parseFloat(hours2.getText().toString());

}

@Override

protected void onCreate(Bundle savedInstanceState) {

super.onCreate(savedInstanceState);

setContentView(R.layout.activity_main);

calc.setOnClickListener(new OnClickListener() {

@Override

public void onClick(View v) {

Identify();

getting();

Toast.makeText(getBaseContext(), "" + Result, Toast.LENGTH_LONG)

.show();

}

});

}

}

"

Please Help Me :)