1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
nekit [7.7K]
3 years ago
7

Each student has a record on a file consisting of the following data: Student last name, Student ID (numeric), GPA (a decimal nu

mber), major (a 3 digit code). a. Define a structure that could be used to process this data record. b. Declare an instance of this structure. c. Write ONE cout statement to show the Student name on the screen. HTML EditorKeyboard Shortcuts
Computers and Technology
1 answer:
slavikrds [6]3 years ago
7 0

Answer:

#include<iostream>

using namespace std;

struct student {

   string name;

   int id;

   float gpa;

   int major;

};

int main() {

   student student1;

   student1.name="Patil";

   student1.id=1;

   student1.gpa=9.80;

   student1.major=123;

   cout<<"First student last name: "<<student1.name;

}

Explanation:

A struct is a container or data structure in C and C++ that holds data that describes or represents an object. It is defined with the struct keyword. Just like a class constructor method, the struct is called with the struct name and the instance name of the struct.

The student struct above is used to create an instance of students registered in a school. The first student struct instance is the 'student1'.

You might be interested in
A user calls you and says that when they try to connect to the internal website, they are prompted for authentication. The user
Kazeer [188]

Answer:

The Local site's URL should be added to the Local internet zone.

Explanation:

3 0
3 years ago
An administrator has just added a new update to the WSUS server and she wants to test the update to the test group. Which of the
DENIUS [597]

Answer:

a. gpupdate /force

Explanation:

Based on the information provided within the question it can be said that if the administrator does not want to wait she can use the command gpupdate /force. This command allows the individual to update both the local Group Policy settings and Active Directory-based settings. This the force tag makes it so that the policy is immediately update.

6 0
4 years ago
What automatically created subdomain holds all the SRV records for Microsoft-hosted services, such as the global catalog, LDAP,
nevsk [136]

Answer:

The correct answer to the following question will be "_msdcs".

Explanation:

Msdcs directory known as Microsoft Domain Controller Catalog requires SRV documents that are used to identify domain controller for certain operations.

  • It automatically generated subdomain keeps all Microsoft-hosted resources SRV data, so it's the correct answer.
  • It includes common SRV documents, documents of LDAP, documents of Kpass, CNAME, etc.
7 0
4 years ago
30 POINTS
avanturin [10]

Answer:

i- why is there so many words!!!

4 0
3 years ago
Building relationship during your carrer exploration is called
Paul [167]

Answer:

Building relationships during your career exploration is called <u>networking</u>.

4 0
4 years ago
Other questions:
  • What are the constraints for designing small and large files and how these are resolved in different file system
    7·1 answer
  • Which option marks all modification made within a document? Review Comment Track Changes Balloons
    15·2 answers
  • Which type of computer are todays most widely used personal computers?
    8·2 answers
  • What Is The Oldest Known Analog Computer In The World?
    14·1 answer
  • What does the term measure refer to in typography
    7·2 answers
  • In ____________, a large address block could be divided into several contiguous groups and each group be assigned to smaller net
    7·1 answer
  • C programmig : Output all combinations of character variables a, b, and c, using this ordering:abc acb bac bca cab cbaSo if a =
    12·2 answers
  • Write a for loop to populate array userGuesses with NUM_GUESSES integers. Read integers using cin. Ex: If NUM_GUESSES is 3 and u
    9·1 answer
  • Consider the conditions and intentions behind the creation of the internet—that it was initially created as a tool for academics
    12·1 answer
  • a domain name is assigned to you when you submit your website to a search engine. group of answer choices true false
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!