Write a program that uses a struct. create a gui of your design that includes a name, studentid and major.

define a structure student with a name, studentid and major
write a method displaystudent that
accepts a parameter of type student
displays the name, studentid and major (you choose how, could textbox, messagebox,
make a button createstudent "create student' that
takes the user input and makes a new student of type student
calls a method displaystudent that you pass the new student as an argument
add exit button
add comments

Solved
Show answers

Ask an AI advisor a question