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'.
Answer:
B) Nuclear Technology
Explanation:
Nuclear technology involves atomic nuclei reactions which are used to generate energy. The product of nuclear reactions has huge advantages in Medicine, Agriculture, power generation, Water Desalination etc. However This technology can be misused to produce nuclear bombs (atomic bombs) Which are very dangerous weapons of mass destruction.
Since nuclear reactions involve chain (continous) reactions, they effective damage of detonating a nuclear bomb is huge.
printers, monitors, tablets, cpus, and laptops are examples of ____________.
c. hardware
If Lucy wants to move data from column A to column N within the same worksheet, she needs to use the Ctrl + c and Ctrl + v keys. But before these key combination, she needs to select first the column A by merely clicking the column A, then ctrl+c and ctrl+v.
Answer:
385
Explanation:
There was no question so I simply run the program for you and included the output.
The program seems to calculate: 