SophiaPretty

(5)

$14/per page/Negotiable

About SophiaPretty

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Applied Sciences,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Economics,Engineering,English,Environmental science,Essay writing Hide all
Teaching Since: Jul 2017
Last Sign in: 313 Weeks Ago, 6 Days Ago
Questions Answered: 15833
Tutorials Posted: 15827

Education

  • MBA,PHD, Juris Doctor
    Strayer,Devery,Harvard University
    Mar-1995 - Mar-2002

Experience

  • Manager Planning
    WalMart
    Mar-2001 - Feb-2009

Category > Computer Science Posted 16 Nov 2017 My Price 10.00

Java program which reads a text file and writes the content

Need help with writing this question, and also need some help with writing comments on a few other files

W rite a Java program which reads a text file and writes the content into a new file. During the read-write process, convert all the upper case letters into lower case ones. In other words, your programming task is to c reate a new file with the same content of the original file, only that all the upper case letters are converted into lower case ones in the new file.

C reate your own text file to test your program. You willimport java.util.Scanner;

public class UseCourse {
    public static void main(String[] args) {
public class LabCourse extends CollegeCourse {
    CollegeCourse cc=new CollegeCourse();
    int c=cc.getCredit();

public void display(){
    super.display();
    System.out.println("Lab fee is $50");
   
   
   
}
}

        


Scanner sc=new Scanner(System.in);
System.out.println("Enter the department");
String s=sc.next();
if(s.equalsIgnoreCase("BIO") || s.equalsIgnoreCase("PHY") ||s.equalsIgnoreCase("CHM") ||s.equalsIgnoreCase("CIS"))
{
    System.out.println("Enter the Course Number");
    int s1=sc.nextInt();
    System.out.println("Enter the Credit");
    int s2=sc.nextInt();
   
        LabCourse lc=new LabCourse();
        lc.setDepartment(s);
        lc.setCourseNumber(s1);
        lc.setCredit(s2);
        lc.display();
}
else
{
    System.out.println("Enter the Course Number");
    int s1=sc.nextInt();
    System.out.println("Enter the Credit");
    int s2=sc.nextInt();
    CollegeCourse cc=new CollegeCourse();
    cc.setDepartment(s);
    cc.setCourseNumber(s1);
    cc.setCredit(s2);
    cc.display();
}
    }

}
 need to submit both the Java file and the text file.

Answers

(5)
Status NEW Posted 16 Nov 2017 01:11 PM My Price 10.00

-----------  ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly

Not Rated(0)