RUVIDEO
Поделитесь видео 🙏

java 2 solve assignment3 (Arabic)

Assignment 3
Exercise:
Suppose you are given a text file “students.txt” that contains the data of students. Every line in the file is composed by the first name, the last name, the score of the test1, the score of the test2 and the grade of the final.
Write a program that:
a. Read the file “student.txt”
b. Create a new file named “Result.txt”. Write in this file the list of the admitted students (total score greater= 60). Each line should contain, the first Name, Last Name, the total score and the string “PASS”.
The total score is calculated as the following: total= Test1*0.2+Test2*0.2+Final*0.6

Assignment 3
Exercise:
Suppose you are given a text file “Books.txt” that contains the data of a list of available books. Every line in the file is composed by the Title, the author, year of publication and the price of one book.
Create a class Book composed that contains the following attributes:
• Title
• Author
• year
• price
Additionally, the class student contains:
1. A constructor defined with 4 parameters to initialize the attributes of an object of type book.
2. 4 accessors methods respectively, for each attribute.

1- Write a method that returns an array of type Book. The method takes as parameter a name of a file, fills an array of type Book and return it.
2- Write a program that :
a. Call the method of the first question
b. Create a new file named “Result.txt”. Write in this file the list of the books with year greater to 2010. Each line should contain, the title and the year.

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «java 2 solve assignment3 (Arabic)», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.