![hixoxo](/avatars/42667.jpg)
hixoxo
19.12.2019 •
Computers and Technology
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
More tips
- H Health and Medicine Novomin: What is it and how to use it?...
- P Philosophy Unbelievable stories of encounters with otherworldly forces...
- L Leisure and Entertainment How to Choose the Perfect Gift for Men on February 23rd?...
- H Health and Medicine How to Treat Whooping Cough in Children?...
- H Health and Medicine Simple Ways to Lower Cholesterol in the Blood: Tips and Tricks...
- O Other How to Choose the Best Answer to Your Question on The Grand Question ?...
- L Leisure and Entertainment History of International Women s Day: When Did the Celebration of March 8th Begin?...
- S Style and Beauty Intimate Haircut: The Reasons, Popularity, and Risks...
- A Art and Culture When Will Eurovision 2011 Take Place?...
- S Style and Beauty How to Choose the Perfect Hair Straightener?...
Ответ:
The correct answer is 256
Explanation:
2^0=1
2^1=2
2^2=4
2^3=8
2^4=16
2^5=32
2^6=64
2^7=128
1+2+4+8+16+32+64+128=255, but 00000000(which is 0) also counts as a number, so the answer is 256.