On Dev C++ create a program that implements an array of student information. The following information should include First name, Last name, Social Security #, User ID, and Password. When the user enters option# 1 your program will prompt the user to enter the number of students in the class.Option#2 then will display the information of all the students in the class listed by number.
#include <stdlib.h>
#include<stdio.h>
#include <stdbool.h>
struct Student
{
char FirstName[25];
char LastName[25];
long SocialSecurityNumber;
int UserId;
char Password[25];
};
void main()
{
struct Student
Stu[3];
int x ,n;
while(true){
printf("\n1.
Enter Student Details\n2. Display Student Details\n3.Exit\n\nEnter
Ur Option :");
scanf("%d",&x);
switch
(x)
{
case
1:
{
printf("\nEnter how many students :");
scanf("%d",&n);
int i;
Stu[n]; //Statement 1
for(i=0;i<n;i++)
{
printf("\nEnter
details of %d Student",i+1);
printf("\n\tEnter Student FirstName : ");
scanf("%s",&Stu[i].FirstName);
printf("\n\tEnter Student LastName : ");
scanf("%s",&Stu[i].LastName);
printf("\n\tEnter Student SocialSecurityNumber : ");
scanf("%ld",&Stu[i].SocialSecurityNumber);
printf("\n\tEnter Student UserId : ");
scanf("%d",&Stu[i].UserId);
printf("\n\tEnter Student Password : ");
scanf("%s",&Stu[i].Password);
}
}
break;
case
2:
{
printf("\n\nDetails of Students");
int i ;
for(i=0;i<n;i++)
printf("\n%s\t%s\t%ld\t%d\t%s",Stu[i].FirstName,Stu[i].LastName,Stu[i].SocialSecurityNumber,Stu[i].UserId,Stu[i].Password);
}
break;
case 3:
exit(0);
break;
default:
printf("Dont enter Choice other than 1, 2, 3");
break;
}
}
}

On Dev C++ create a program that implements an array of student information. The following information...
On Dev C++, write a C++ program that prompts the user with the following option: 1) to enter a student information such as First Name, Last Name, SS# formatted as ###-##-####, userID and Password and store them into a struct data type. 2) to display the student information as shown in the example below: Name: Mary Last Name: Parker SS#: 000-00-1398 userID: mParker Password: ******** 3) Exit the program.
*** C++ *** Create a class called Student that contains a first name ( string) and an student id number (type long). 1. Include a member function called get_data( ) to get data from the user for insertion into the object, 2. Also include a function called display_data( ) that displays the student data. Then write a complete program that uses the class to do some computation. Your main function, main( ), should create a Dynamic Array of...
Java Programing Code only Ragged Array Assignment Outcome: Student will demonstrate the ability to create and use a 2D array Student will demonstrate the ability to create and use a jagged array Student will demonstrate the ability to design a menu system Student will demonstrate the ability to think Program Specifications: Write a program that does the following: Uses a menu system Creates an array with less than 25 rows and greater than 5 rows and an unknown number of...
Java Project In Brief... For this Java project, you will create a Java program for a school. The purpose is to create a report containing one or more classrooms. For each classroom, the report will contain: I need a code that works, runs and the packages are working as well The room number of the classroom. The teacher and the subject assigned to the classroom. A list of students assigned to the classroom including their student id and final grade....
Use C++ to create a class called Student, which represents the students of a university. A student is defined with the following attributes: id number (int), first name (string), last name (string), date of birth (string), address (string). and telephone (area code (int) and 7-digit telephone number(string). The member functions of the class Student must perform the following operations: Return the id numb Return the first name of the student Modify the first name of the student. . Return the...
Create a C# program that will first prompt the instructors to enter the number of students they currently have in their classes. Use this value for the size of the row dimension of your multidimensional array. Next, prompt the instructors to type in the number of scores they would like to enter. This variable will be used to designate the column size dimension of your multidimensional array. Then, use a loop to prompt the user to enter the number of...
Implement a software program in C++ t stores and searches the Student records using double-hashing algorithm. Double hashing uses the idea of applying a second hash function to key when a collision occurs. The software program will be based on the following requirements: Development Environment: If the software program is written in C++, its project must be created using Microsoft Visual Studio 2017. If the software program is written in Java, its project must be created using NetBeans v8.2. Algorithm: If...
Lab: User login system (python) Create a user login system. Your code should do the following: 1.Load your user database from “UD.txt” (USE THE EXACT FILE NAME, file is given in the folder) 2.Display “Login or create a new user? Select L to login, select C to create new user.” 3. If wrong selection is entered, take the user back to step 2. 4. If the user entered “L”, display “Please enter your user name and hit enter” 5. Check...
Create a Java program for a school. Create a report containing information for a classroom. For each classroom, the report will contain: the room number, the teacher and subject to the class, and a list of students assigned to the class and their grade. Create a directory called “SchoolInfo". Create Displayable interface. The interface should declare one method Create Person (abstract) class String firstName String lastName. (other classes will implement this one) Create the Teacher class, name and subject Create...
using C# Write a program which calculates student grades for multiple assignments as well as the per-assignment average. The user should first input the total number of assignments. Then, the user should enter the name of a student as well as a grade for each assignment. After entering the student the user should be asked to enter "Y" if there are more students to enter or "N" if there is not ("N" by default). The user should be able to...