Create the pseudocode that will demonstrate how an application will write your name and surname to a text file called “students.dat”.
Start
Declare variable name as String
Declare variable surname as String
Declare variable FILE_NAME as String="Students.dat"
Read name from the keyboard
Read surname from the keyboard
Open FILE_NAME
Write (name +" "+ surname) to the file FILE_NAME
Close the file FILE_NAME
Stop
Comments
Leave a comment