Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Java-Beginners Code Help Needed
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Zasen
Code Help Needed
2 Answer(s)      3 years and a month ago
Posted in : Java Beginners


I am trying to help a buddy of mine with this program and I can't seem to figure it out. I am still working on it but any help would be appreciated. The program is suppose to write to and read from a file: student names, scores, make a report, edit and delete data from the file. Right now it compiles but it gives an error at runtime right at the fileOut.write(firstName[test]); line. Again thank you for any help.

import java.util.*;
import java.io.*;
public class finalProjectGradingProgram 
{

   public static void main(String[] args) throws IOException
    {
        Scanner myScanner = new Scanner(System.in);
       File file = new File("studentFile.txt");
       BufferedWriter fileOut = new BufferedWriter(new FileWriter(file));
       BufferedReader fileIn= new BufferedReader(new FileReader("studentFile.txt"));
       BufferedReader dataIn = new BufferedReader(new InputStreamReader(System.in));

        int [][] score = new int[27][50];
        int [] numberOfAssignments = new int[27];
        String [] firstName = new String[27];
        String [] lastName = new String[27];
        int [] studentId = new int[27];

        String end, assignmentTest, searchNumber, scoreTemp, studentIdTemp, empty;
        String restartTemp, numberOfStudentsString, assignmentIndexString, editEntryString;
        int numberOfStudentsTest;
        int i, h, l, p, y, s, entry;
        int firstNameCounter,arrayCounter, arrayCounter2, scoreCounter, scoreCounter2;
        int assignmentTestInt, test;
        int searchNumberInt, searchLoop, index;
        int editLoop, editEntry;
        int assignmentIndex;
        int parseInt = 0;
        int scoreTempInt;
        int restart, restartTest;
        int average, averageTemp;
        int numberOfStudents;
        int emptyFinder;

        empty= "empty";
        end= "end";

//sets all the entrys in array score = -1 for later error checking.
for(arrayCounter = 0; arrayCounter < 26; arrayCounter++)
   {
        for(scoreCounter= 0; scoreCounter < 50; scoreCounter++)
        {
            score[arrayCounter][scoreCounter] = -1;
        }
   }
    for(y=0;y<27;y++)
        {
            firstName[y]= "empty";
        }
    numberOfStudentsTest= 0;

   for(arrayCounter2 = 0; arrayCounter2 < 26; arrayCounter2++)
    {
           studentId[arrayCounter2]= fileIn.read();
           firstName[arrayCounter2]= fileIn.readLine();
           lastName[arrayCounter2]= fileIn.readLine();
           numberOfAssignments[arrayCounter2]= fileIn.read();

    for(scoreCounter2= 0; scoreCounter2 < 50; scoreCounter2++)
            {
            score[arrayCounter2][scoreCounter2] = fileIn.read();
        }
      }
    numberOfStudentsTest=fileIn.read();

restart=4;

entry = 0;
while(entry > 0 && entry < 5)
{
    System.out.println("If you wish to add a student please press 1");
    System.out.println("If you wish to modify a student please press 2");
    System.out.println("If you wish to delete a student please press 3");
    System.out.println("If you wish to run a report on a student please press 4");
    System.out.println("If you wish to end the program please press 5");
    //entry = dataIn.readLine();
    //parseInt = Integer.parseInt(entry);
    entry = myScanner.nextInt();
    numberOfStudentsTest = 0;

//start of the menu system. I still need to work on the modify and delete portions.
//the if statement works in conjunction with the menu
if(parseInt == 1)
{
   System.out.println("Please enter the amount of students you wish to add");
   numberOfStudentsString = dataIn.readLine();
   numberOfStudents = Integer.parseInt(numberOfStudentsString);
   //This asks the user to enter the number of students they wish to add allowing them to effectivly end the loop with out the need to break it. 
       for(i=(0); i < (numberOfStudents); i++)
       //The for loop is to run though it 26 times. This needs to be edited to ask for or find where the teacher left off last time. It will also systematiclly fill in the arrays.
        {
           System.out.println("Please enter student's last name, Enter end to quit:");
           lastName[i]=(String) dataIn.readLine();
                   if (lastName[i].equals(end))
                   {
                        break;
                   }
           System.out.println("Please enter student first name, Enter end to quit:");
           firstName[i]=(String) dataIn.readLine();
                  if (firstName[i].equals(end))
                   {
                        break;
                   }
           System.out.println("Please enter the student ID number, Enter -5 to quit:");
           studentIdTemp = dataIn.readLine();  
           studentId[i]= Integer.parseInt(studentIdTemp);
                   if(studentId[i] == -5)
                   {
                       break;
                   }
        for (h = 0; h<25;h++)
        {
           System.out.println("Please enter student "+ (h+1) +" assignment score, Enter -5 to quit:");
           assignmentTest = dataIn.readLine();
           assignmentTestInt = Integer.parseInt(assignmentTest);
                if(assignmentTestInt == -5)
                {
                   break;
                }
                else
                {
                    score[i][h] = assignmentTestInt;
                    numberOfAssignments[i] = h+1;
                }
        }
          numberOfStudentsTest= (numberOfStudentsTest+1);
       }

}//if

if(parseInt == 2)
{
    System.out.println("Please enter the students ID");
    searchNumber = dataIn.readLine();
    searchNumberInt = Integer.parseInt(searchNumber);
        for(searchLoop=0; searchLoop < 26; searchLoop++)
          {
            if(searchNumberInt == studentId[searchLoop])
                {
                  index = searchLoop;
                  break;
                }
          }
    index = searchLoop;
    System.out.println("Found Student");
    System.out.println("Current Student Information");
    System.out.println(studentId[index]);
    System.out.println(firstName[index]);
    System.out.println(lastName[index]);
    System.out.println(numberOfAssignments[index]);
        for(editLoop=0;editLoop < numberOfAssignments[index+1]; editLoop++)
        {
            System.out.print(score[index][editLoop]);
        }
    System.out.println("What would you like to do?");
    System.out.println("Enter 1 to edit student ID");
    System.out.println("Enter 2 to edit First Name");
    System.out.println("Enter 3 to edit Last Name");
    System.out.println("Enter 4 to edit Scores");
    editEntryString = dataIn.readLine();
    editEntry = Integer.parseInt(editEntryString);
     if(editEntry == 1)
     {
         System.out.println("Please enter the new student ID");
         studentIdTemp= dataIn.readLine();
         studentId[index]= Integer.parseInt(studentIdTemp);
     }
     if(editEntry == 2)
     {
         System.out.println("Please enter the new first name of the student");
         firstName[index] = dataIn.readLine();
     }
     if(editEntry == 3 )
     {
         System.out.println("Please enter the new last name of the student");
         lastName[index] = dataIn.readLine();
     }
     if(editEntry == 4)
     {
         System.out.println("Please enter the number of the assignment you would like to edit");
         assignmentIndexString = dataIn.readLine();
         assignmentIndex = Integer.parseInt(assignmentIndexString);
         assignmentIndex = (assignmentIndex - 1);
         System.out.println("Please enter the new score for the assignment");
         score[index][assignmentIndex]=dataIn.read();
     }
}
if(parseInt == 3)
{
    System.out.println("Please enter the students ID");
    searchNumber = dataIn.readLine();
    searchNumberInt = Integer.parseInt(searchNumber);
        for(searchLoop=0; searchLoop < 26; searchLoop++)
          {
            if(searchNumberInt == studentId[searchLoop])
                {
                  index = searchLoop;
                  break;
                }
          }
    index = searchLoop;
    firstName[index] = " ";
    lastName[index] = " ";
    studentId[index] = -1;
    numberOfAssignments[index] = -1;

    for(p=0;p<25;p++)
    {
        score[index][p]= -1;
    }

}

if(parseInt == 4)
{
    System.out.println("Who do you wish to run the report for?");
    System.out.println("Please enter the students ID");
    searchNumber = dataIn.readLine();
    searchNumberInt = Integer.parseInt(searchNumber);
        for(searchLoop=0; searchLoop < 26; searchLoop++)
          {
            if(searchNumberInt == studentId[searchLoop])
                {
                  index = searchLoop;
                  break;
                }
          }
    index = searchLoop;
    System.out.println(firstName[index]);
    System.out.println(lastName[index]);
    System.out.println(studentId[index]);
    System.out.println(numberOfAssignments[index]);

    for(int q=0;q<numberOfAssignments[index];q++)
    {
        System.out.print(score[index][q] + " ");
    }
        averageTemp = 0;
    for(int j=0;j < numberOfAssignments[index];j++)
    {
        averageTemp= averageTemp + score[index][j];
    }      
    average=0;
    //Seems to just skip over this section entirely. I have no idea why.
    average = averageTemp/numberOfAssignments[index];
    System.out.println(average);
}
if(parseInt == 5)
{
    System.exit(0);
}
   System.out.println("Would you like to restart the program? If you wish to restart enter the number 4");
   restartTemp= dataIn.readLine();
   restartTest = Integer.parseInt(restartTemp);
   restart= restartTest;
}//while for menu
  for(test=0;test<50;test++)
{

    fileOut.write(studentId[test]);
    fileOut.write(firstName[test]);
    fileOut.write(lastName[test]);
    fileOut.write(numberOfAssignments[test]);
        for(l=0;l<50;l++)
        {
             fileOut.write(score[test][l]);
        }
}
    fileOut.write(numberOfStudentsTest);
    fileOut.close();
   }
}

Advertisement
View Answers

December 9, 2011 at 11:42 AM




December 9, 2011 at 8:38 PM


Thank you that is very good but I need a plain text version of it. I messed around last night with it and here is what I have so far. It still won't write to a file and the rest of the menu will not work without that. Any help is greatly appreciated

import java.util.*;
import java.io.*;
public class Test
{
   public static void main(String[] args) throws IOException
    {
       Scanner myScanner = new Scanner(System.in);
       File file = new File("studentFile.txt");
       BufferedWriter fileOut = new BufferedWriter(new FileWriter(file));
       BufferedReader fileIn= new BufferedReader(new FileReader("studentFile.txt"));
       BufferedReader dataIn = new BufferedReader(new InputStreamReader(System.in));

        //creating arrays
        int [][] score = new int[27][50];
        int [] numberOfAssignments = new int[27];
        String [] firstName = new String[27];
        String [] lastName = new String[27];
        int [] studentId = new int[27];

        //declaring variables
        String end, assignmentTest, searchNumber, scoreTemp, studentIdTemp, empty, response;
        String restartTemp, numberOfStudentsString, assignmentIndexString, editEntryString;
        int numberOfStudentsTest;
        int i, h, l, p, y, s, entry;
        int firstNameCounter,arrayCounter, arrayCounter2, scoreCounter, scoreCounter2;
        int assignmentTestInt, test;
        int searchNumberInt, searchLoop, index;
        int editLoop, editEntry, assignmentIndex;
        int parseInt = 0;
        int scoreTempInt, restart, restartTest;
        int average, averageTemp, numberOfStudents, emptyFinder;

        empty= "empty";
        end= "end";

        //sets all the entrys in array score = -1 for later error checking.
    for(arrayCounter = 0; arrayCounter < 26; arrayCounter++)
    {
        for(scoreCounter= 0; scoreCounter < 50; scoreCounter++)
        {
            score[arrayCounter][scoreCounter] = -1;
        }
    }
    for(y=0;y<27;y++)
        {
            firstName[y]= "empty";
        }
    numberOfStudentsTest= 0;
    for(arrayCounter2 = 0; arrayCounter2 < 26; arrayCounter2++)
    {
          studentId[arrayCounter2]= fileIn.read();
          firstName[arrayCounter2]= fileIn.readLine();
          lastName[arrayCounter2]= fileIn.readLine();
          numberOfAssignments[arrayCounter2]= fileIn.read();
    for(scoreCounter2= 0; scoreCounter2 < 50; scoreCounter2++)
      {
         score[arrayCounter2][scoreCounter2] = fileIn.read();
      }
      }
    numberOfStudentsTest=fileIn.read();
   restart=1;
entry = 1;  
//creating menu
while(entry > 0 && entry < 5)
{
        System.out.println("*********");
        System.out.println("Main Menu");
        System.out.println("*********");
        System.out.println("Option 1: Add a student");
        System.out.println("Option 2: Modify a student");
        System.out.println("Option 3: Delete a student");
        System.out.println("Option 4: Run a report");
        System.out.println("Option 5: End Program");
        entry = myScanner.nextInt();

        numberOfStudentsTest = 0;

//start of the menu system. 
//the if statement works in conjunction with the menu
//Menu Option 1
if(entry == 1)
{
   System.out.println("Please enter the amount of students you wish to add");
   numberOfStudentsString = dataIn.readLine();
   numberOfStudents = Integer.parseInt(numberOfStudentsString);
   //This asks the user to enter the number of students they wish to add allowing them to effectivly end the loop with out the need to break it. 
       for(i=(0); i < (numberOfStudents); i++)
       //The for loop is to run though it 26 times. It will also systematiclly fill in the arrays.
        {
           System.out.println("Please enter student's last name, or Enter end to quit:");
           lastName[i]=(String) dataIn.readLine();
                   if (lastName[i].equals(end))
                   {
                        break;
                   }
           System.out.println("Please enter student first name, or Enter end to quit:");
           firstName[i]=(String) dataIn.readLine();
                  if (firstName[i].equals(end))
                   {
                        break;
                   }
           System.out.println("Please enter the student ID number, or Enter -5 to quit:");
           studentIdTemp = dataIn.readLine();  
           studentId[i]= Integer.parseInt(studentIdTemp);
                   if(studentId[i] == -5)
                   {
                       break;
                   }
            for (h = 0; h<25;h++)
            {
            System.out.println("Please enter student "+ (h+1) +" assignment score, Enter -5 to quit:");
            assignmentTest = dataIn.readLine();
            assignmentTestInt = Integer.parseInt(assignmentTest);
                if(assignmentTestInt == -5)
                {
                    break;
                }
                else
                {
                    score[i][h] = assignmentTestInt;
                    numberOfAssignments[i] = h+1;
                }
            }
            numberOfStudentsTest= (numberOfStudentsTest+1);
       }

}

//Menu Option 2
if(entry == 2)
{
    System.out.println("Please enter the students ID");
    searchNumber = dataIn.readLine();
    searchNumberInt = Integer.parseInt(searchNumber);
        for(searchLoop=0; searchLoop < 26; searchLoop++)
            if(searchNumberInt == studentId[searchLoop])
                {
                  index = searchLoop;
                  break;
                }
    index = searchLoop;
    System.out.println("Found Student");
    System.out.println("Current Student Information");
    System.out.println(studentId[index]);
    System.out.println(firstName[index]);
    System.out.println(lastName[index]);
    System.out.println(numberOfAssignments[index]);
        for(editLoop=0;editLoop < numberOfAssignments[index+1]; editLoop++)
        {
            System.out.print(score[index][editLoop]);
        }
     //Creating editing menu
     System.out.println("*********");
     System.out.println("Edit Menu");
     System.out.println("*********");
    System.out.println("Option 1: Edit student ID");
    System.out.println("Option 2: Edit First Name");
    System.out.println("Option 3: Edit Last Name");
    System.out.println("Option 4: Edit Scores");
    editEntryString = dataIn.readLine();
    editEntry = Integer.parseInt(editEntryString);
     if(editEntry == 1)//input option 1
     {
         System.out.println("Please enter the new student ID");
         studentIdTemp= dataIn.readLine();
         studentId[index]= Integer.parseInt(studentIdTemp);
     }
     if(editEntry == 2)//input option 2
     {
         System.out.println("Please enter the new first name of the student");
         firstName[index] = dataIn.readLine();
     }
     if(editEntry == 3 )//input option 3
     {
         System.out.println("Please enter the new last name of the student");
         lastName[index] = dataIn.readLine();
     }
     if(editEntry == 4)//input option 4
     {
         System.out.println("Please enter the number of the assignment you would like to edit");
         assignmentIndexString = dataIn.readLine();
         assignmentIndex = Integer.parseInt(assignmentIndexString);
         assignmentIndex = (assignmentIndex - 1);
         System.out.println("Please enter the new score for the assignment");
         score[index][assignmentIndex]=dataIn.read();
     }
}

//Menu Option 3
if(entry == 3)
{
    System.out.println("Please enter the students ID");
    searchNumber = dataIn.readLine();
    searchNumberInt = Integer.parseInt(searchNumber);
        for(searchLoop=0; searchLoop < 26; searchLoop++)
            if(searchNumberInt == studentId[searchLoop])
                {
                  index = searchLoop;
                  break;
                }
     //replace with blank spaces and -1 where appropriate
    index = searchLoop;
    firstName[index] = " ";
    lastName[index] = " ";
    studentId[index] = -1;
    numberOfAssignments[index] = -1;

    for(p=0;p<25;p++)
    {
        score[index][p]= -1;
    }

}

//Menu Option 4
if(entry == 4)
{
    System.out.println("Who do you wish to run the report for?");
    System.out.println("Please enter the students ID");
    searchNumber = dataIn.readLine();
    searchNumberInt = Integer.parseInt(searchNumber);
        for(searchLoop=0; searchLoop < 26; searchLoop++)
            if(searchNumberInt == studentId[searchLoop])
                {
                  index = searchLoop;
                  break;
                }
    index = searchLoop;
    System.out.println(firstName[index]);
    System.out.println(lastName[index]);
    System.out.println(studentId[index]);
    System.out.println(numberOfAssignments[index]);
    for(int q=0;q<numberOfAssignments[index];q++)
    {
    System.out.print(score[index][q] + " ");
    }
    averageTemp = 0;
    for(int j=0;j < numberOfAssignments[index];j++)
    {
        averageTemp= averageTemp + score[index][j];
    }      
    average=0;
    //Seems to just skip over this section entirely. I have no idea why.
    average = averageTemp/numberOfAssignments[index];
    System.out.println(average);
}

//Menu Option 5
if(entry == 5)
{
    System.exit(0);
}
   System.out.println("Would you like to restart the program? If you wish to restart enter the number 4");
   restartTemp= dataIn.readLine();
   restartTest = Integer.parseInt(restartTemp);
   restart= restartTest;
}//close while loop for main menu
   for(test=0;test<50;test++)
    {

    fileOut.write(studentId[test]);
    fileOut.write(firstName[test]);
    fileOut.write(lastName[test]);
    fileOut.write(numberOfAssignments[test]);
        for(l=0;l<50;l++)
        {
             fileOut.write(score[test][l]);
        }
    }
        fileOut.write(numberOfStudentsTest);
        fileOut.close();
   }
}


Related Tutorials/Questions & Answers:
Code Help Needed
Code Help Needed  I am trying to help a buddy of mine with this program and I can't seem to figure it out. I am still working on it but any help...[test]); line. Again thank you for any help. import java.util.*; import
Help needed in JSP
Help needed in JSP  Hi .. I want to Update the multiple values of database using checkboxes and want to set the session for selected checkboxes..? please answer if any one knows as soon as possible
Advertisements
help Needed with requirements
help Needed with requirements  Following are my requirements : * Maintain a student database *Based on a student's test results ,reports should be generated so as to project details such as a students weakness in a particular
Java help needed
Java help needed  Create a web application that will allow a user... as needed by the number of characters of the chosen word. 2. Add 4 buttons or menu options: One for accessing help using the program, one for adding new words, one
urgent help needed!!!!
from connected comboboxes for storing in database...i'm attatching a code i got.......please help me.... 1)state.jsp: <%@page import="java.sql.*"%>...(Exception e){ System.out.println(e); } %> For the above code, we have
urgent help needed!!!!
attatching a code i got from net for connected comboboxes...from this how could i access country and state....please help me.... 1)state.jsp: <%@page import...; For the above code, we have created two database tables: CREATE TABLE `country
help needed for a program - Java Beginners
help needed for a program   i am having trouble understanding on what to code, so can some 1 help me out here. thanks in advance. Part I Write, compile and execute a Java program that displays the following prompts
PHP help needed - Development process
PHP help needed  This is my code that I am using for search engine, can any body answer how to cheange the code if I want limited and per page result display??? code Career Search result Yami says <?php
servlet redirect problem help needed
servlet redirect problem help needed  package p; import... out and also execute the last portion of the code...and giving error i thought... of the code will not be executed if any any one knows plz tell me what happens
servlet redirect problem help needed
servlet redirect problem help needed  package p; import... out and also execute the last portion of the code...and giving error i thought... of the code will not be executed if any any one knows plz tell me what happens
help needed - Java Interview Questions
help needed  What are the new features added in jdk 1.5?  Hi friend, The following were the new features added in java 1.5.... * Autoboxing/unboxing ------------------------- This link will help you
look up values help needed
look up values help needed  Hi, I have a table that returns rows with a total weight (say 212.5 for example). I have another look up table that has... of 2.55 as 212.5kgs is between 195.5 and 220.5 can anyone help how I can do
Help needed for Form Validation please help!
Help needed for Form Validation please help!  I have created a page... clicking the submit button for sign up it also goes through the jsp code and returns incorrect Username/password combination. So how can I make the jsp code confined
Help needed for J2me and PHP - Development process
Help needed for J2me and PHP  Hello Sir I am a degree student. I have a small CRM application using J2me and PHP. I want to do cryptography using... but could not get result. I will appreciate your help. Regards
urgent help needed in JDBC AND JAVA GUI - JDBC
urgent help needed in JDBC AND JAVA GUI  my application allows... want any one to help me convert from scanner to java GUI for this code...(); } } // thanks for any help rendered   Hi Friend, Try the following code
CAN ANYONE SOLVE THIS FOR ME. URGENT HELP NEEDED. PLEASE HELP
CAN ANYONE SOLVE THIS FOR ME. URGENT HELP NEEDED. PLEASE HELP   The Task Write a class whose objects will represent students. The class should have three fields for representing a student‚??s
CAN ANYONE SOLVE THIS FOR ME. URGENT HELP NEEDED. PLEASE HELP
CAN ANYONE SOLVE THIS FOR ME. URGENT HELP NEEDED. PLEASE HELP   Write a class whose objects will represent students.The class should have three fields for representing a student√Ę‚?¨‚?Ęs name, this student√Ę‚?¨‚?Ęs
urjent code needed - Java Interview Questions
urjent code needed  Coding: - We have Document domain/entity.... Please write a java code that will: 1. Implements hashCode() and equals...){ // your code is here } Document findDocument(Document doc
MySQL take backup of a table - example code needed
MySQL take backup of a table - example code needed  How to take backup of a table in MySQL? I have a database which contains many tables. What is the command to take the backup of one table with data from database? Thanks
Help needed on java standalone app and default browser interaction.
Help needed on java standalone app and default browser interaction.  Hi Developers and tutors, Is anyone able to guide on how am i able to extract...? Platform Windows Browser IE7 Any from of help would be deeply apperciated
Help in completing Servlet code!
Help in completing Servlet code!  Complete the following Servlet codes to store the information read from the input form to session object. public... String comment = req.getParameter(?commentText?); //Complete the code to store
help to write java code
help to write java code  write a full code to produce a system will calculate all items to get total carry-marks which are 60 marks. and get sum of assignment 1,assignment 2, midterms-test and lave work to get total marks
help to write java code
help to write java code  write a full code to produce a system will calculate all items to get total carry-marks which are 60 marks. and get sum of assignment 1,assignment 2, midterms-test and lave work to get total marks
Java Programming Code HELP
Java Programming Code HELP  Hi, sir/madam. I am new here...: String, attribute name = variable name) Below are my source code. Hope the expert can help me to solve this problem and pull out the attribute name. Can sir
Calender code ! HELP!!!
Calender code ! HELP!!!  how can i add 3 days to current date ? i am.... i am working on a school project & i really need help on this!!! Please help me. This is my code: var Calendar = Class.create
more code help
more code help  Instructions: Write a program to translate a message from English to Morse code. Using a simple text editor like Windows Notepad, create a text file with all of the Morse code combinations for the letters
Please help with this code
Please help with this code  I need some help getting the Search method below to work with the menu, and I also cannot figure out how to get my bubble sort to work. I've spent a long time on this and think my brain is just fried
Java code help
Java code help  Write a java program that will ask the user to input any number from 5 to 9 and then print the following structure depending on the user input. E.g. If the user input is 5, then print the following structure 1 2 3
need someone to do/help with code
need someone to do/help with code  i need someone to do a code for me. It is a restaurant menu that displays a list of 10 food items. A customer..., along with the number of items sold..please help did a code 500 times cant
help in insert code - JSP-Servlet
help in insert code  I have some doubt in following code. I want to insert value using prepared statement.we r accessing connection from other package.can u plz help me out.  hiimport java.io.*;import java.sql.*;import
could anyone please help with the code.
could anyone please help with the code.  protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException...(request, response); } } could anyone please check the code. If i enter
 

 

 

DMCA.com