Answer:
Using python
num_boys = int(input("Enter number of boys :"))
num_girls = int(input("Enter number of girls :"))
budget = int(input("Enter the number of dollars spent per school year :"))
try:
dollarperstudent = budget/(num_boys+num_girls)
print("Dollar spent per student : "+str(dollarperstudent))#final result
except ZeroDivisionError:
print("unavailable")
Any collection of data or information that has been properly structured for quick search and retrieval by a computer is referred to as a database, often known as an electronic database.
<h3>What is electronic database?</h3>
- Databases are designed to make it easy to save, retrieve, edit, and delete data while carrying out various data-processing tasks. In response to queries, a database management system (DBMS) retrieves data from the database.
- Databases are briefly discussed after that. See computer science: Information systems and databases; information processing for a comprehensive explanation.
- A file or collection of files used to store a database.
- These files' contents can be divided up into records, each of which has one or more fields.
- The fundamental units of data storage are fields, and each field typically contains data related to one feature or attribute of the thing that the database is describing.
- Additionally, records are arranged into tables that contain details on the connections between their various fields.
- A database in the strict sense offers cross-referencing capabilities, despite the fact that the term "database" is used broadly to refer to any collection of information in computer files.
- Users can quickly search, rearrange, organize, and choose the fields in numerous records to access or produce reports on certain data aggregates using keywords and a variety of sorting instructions.
To Learn more About database Refer To :
brainly.com/question/518894
#SPJ1
Answer:
Explanation:
ADT for an 2-D array:
struct array{
int arr[10];
}arrmain[10];
An application that stores an array with 1000 rows and 1000 columns, where less than 10,000 of the array values are non-zero. The two different implementations for such arrays that would be more space efficient than a standard two-dimensional array implementation requiring one million positions are :
1) struct array{
int *p;
}arr[1000];
2) struct array{
int *p;
}arr[1000];
Answer:
Explanation:
The VC-T engine (for "variable compression, turbocharged") can adjust its compression ratio between 8:1 and 14:1 on the fly, offering high-compression efficiency under light loads and the low compression needed for turbocharged power under hard acceleration.