Question: java c++ Write a java program to read from a text file named input.txt, in which each line contains Item code (long), Item name (string),

java c++ Write a java program to read from a text file named input.txt, in which each line contains Item code (long), Item name (string), price (double), type (TV, Mobile, .. etc) (sting) and quantity (integer). The different fields are separated by ;. You should Prompt the user to enter item type (X) and then output in another file output.txt all items (code, name) that have the same type as (X) with price greater than 80.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!