
Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
expand_more
expand_more
format_list_bulleted
Concept explainers
Question
how do you turn a code like this into a code that uses classes and objects.
please include pseudocodes in every line with detailed explanation. also, please just screenshot the code so it'd be easier to read. thank you.

Transcribed Image Text:#include <iostream>
using namespace std;
int main()
{
string studname, studgender, dateofbirth, studaddress, ay, answer;
int number, term, scholar;
cout « "\n WELCOME TO THE STUDENT ENROLLMENT SYSTEM. ";
cout « "\n \n \t 1: Register a new student. ";
cout « "\n \t 2: Cancel. ";
cout « "\n \n Enter your choice (1 or 2): ";
cin >> number;
switch (number)
{
case 1: cin.ignore();
cout « "\n Enter Name of Student (last name, given name, middle name): \n \t";
getline(cin, studname);
break;
case 2: return 0;
break;
default: cout <« "\n Please choose between numbers 1 and 2. ";
return 0;
break;
//Profile Description of Students
cout « "\n Enter Gender: ";
getline(cin, studgender);
cout « "\n Enter Date of Birth (MM/DD/YY): ";
getline(cin, dateofbirth);
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by stepSolved in 4 steps with 2 images

Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
- You are creating a simple RPG video game, and you need to work out some details for your crafting menu. Your characters can craft two potions with simple ingredients: Minor Mana, and Minor Healing. The two potions have similar ingredients with some slight differences shown below. You want to add a "Craft All Potions" option, which will ask the user if they would like to prioritize Healing or Mana potions. It will then tell you how many you can produce of your priority potion, and then with the leftovers it will craft the other type of potion if it is possible. First ask for the priority potion, and then the quantities of the ingredients as an input. Then output how many of the priority potion you can make, and how many of the other potion. If the user provides an invalid input, ask them again.arrow_forwardDo this in JAVA Programmingarrow_forwardThink about the PictureBox control myPicture in a GUI for an application. With a statement, the control will become invisible.arrow_forward
- Explain the difference between TextBox and MaskedTextBox. instructions for changing case in a text field.arrow_forwardCounting the growth rings of a tree is a good way to tell the age of a tree. Each growth ring counts as one year. Use a Canvas widget to draw how the growth rings of a 5-year-old tree might look. Then, using the create_text method, number each growth ring starting from the center and working outward with the age in years associated with that ring.arrow_forward1. Review the Sample Dragon Text Game Storyboard in the Supporting Materials section to see a sample storyboard for a dragon-themed game. You will begin by creating a storyboard to plan out your game. Using one of the templates located in the What to Submit section, write a short paragraph that describes the theme of your game by answering all of the following questions: • What is your theme? What is the basic storyline? o What rooms will you have? (Note: You need a minimum of eight.) o What items will you have? (Note: You need a minimum of six.) • Who is your villain? 2. Next, you will complete your storyboard by designing a map that organizes the required elements of the game (rooms, items, and villain). Using the blank map in your template, organize the different rooms and the items in each room. The following requirements must be met: • There must be a minimum of eight rooms. • Each room must contain one item, with the exception of the "start" room and the room containing the…arrow_forward
arrow_back_ios
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education

Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON

Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education