Question: You are given a file called std and composed of Number, Name, Address fields. (You can define the type of fields by yourself) Wriite an
You are given a file called "std" and composed of "Number, Name, Address" fields. (You can define the type of fields by yourself) Wriite an algorithm that makes "insert, delete, update and retrieve", processes on the records in the file. "Number" field is the key of each record
Steps process 1 Algorithm ReadAnd Write Numbers On Screen Give a meaningful name to algorithm // This algorithm reads five integer numbers on the screen, and writes them back on the screen again. Variables named "a", "b","c", "d" and "e" are going to be use. The types of variables are integer.// 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 [Initialization] a,b,c,d,e-0 [Read numbers on screen] Read(a) Write(a) Read(b) Write(b) Read(c) Write(c) Read(d) Write(d) Read(e) Write(e) [End Algorith] Stop Write an introductory word and start writing algorithm Trace of algorithm Ab,c,d,e,-0 a-5 5 b-6 6 c+7 7 d-8 8 e-9 9 as is seen by trace algorithm is working. Convert it to java program code
Step by Step Solution
3.44 Rating (151 Votes )
There are 3 Steps involved in it
Heres a Java program code that corresponds to the provided algorithm import javau... View full answer
Get step-by-step solutions from verified subject matter experts
