20 10 64 University of Bahrain College of Information Technology Department of Computer Science ITCS114 COMPUTER PROGRAM
Posted: Mon May 02, 2022 12:12 pm
20 10 64 University of Bahrain College of Information Technology Department of Computer Science ITCS114 COMPUTER PROGRAMMING II Assignment #3 - File Stream Dear students, Include the following header comments at the beginning of java tutorials, assignments and practical quiz. 11 // Course Name and #: ITCS 114 Section #: XX Date: XX/XX/XXXX 1/ Activity Name: XXXXXXXX Activity #:XX // Name: XXXXXXXX XXXXXXXX Student ID: XXXXXXXX // **eeeeeeeeeeeeeee You have a file called (rectangle.txt). The file contains three lines. Each line contains 2 sides value represent the width and length of rectangle. Write a Java program that read all the records from file and print the area result for each rectangle line in output screen according to the following rules. Area = width length Sample files: Input file (atom.It) 54 25 322 The output screen contains information about the atom.