Answer is given below
Explanation:
differences between a file-processing system and a database management system is given below
file-processing system
- File system is a software that manages and organizes the files in a storage medium within a computer.
- It doesn’t provide backup and recovery of data if it is lost.
- There is less data consistency in file system.
- File systems provide less security in comparison to DBMS.
- It is less complex as compared to DBMS.
database management system
- DBMS is a software for managing the database
- It provides backup and recovery of data even if it is lost.
- DBMS has more security mechanisms as compared to file system
- It has more complexity in handling as compared to file system.
- There is more data consistency because of the process of normalization.
Answer:
in javascript:
function compute(a, b, c){
let array = [a, b, c];
array.forEach((e,k) => {
if(e >= a && e >= b && e >= c){
console.log("maximum: " + e);
}
if( e <= a && e <= b && e <= c){
console.log("minimum: " + e);
}
}
}
Explanation:
If you save the input as num,
this will print the input 8 times.
num = input("Enter a number: ")
print(num * 8)
If you want to do actual math calculations,
then the input needs to be a number.
num = float(input("Enter a number: "))
print(num * 8)
This doesn't account for any errors in which the user doesn't input a number, but I don't think that's what you were looking for anyway :)