Answer:
A
Explanation:
The goal of user friendly game is to provide UX.
For example a user friendly game will have much different interface than professional CAD program.
Answer:
a. If the read is successful, the number of bytes read is returned.
b. If the end of file is encountered, 0 is returned.
Explanation:
A read function is one of the functions used in computer programming. A read function is used to read an information or data that was written before into a file.
If any portion of a regular file before to the end of file has not been written and the end of file is encountered the read function will return the bytes with value 0.
If read function has read some data successfully, it returns the number of bytes it read.
Answer:
Following are the solution to the given response:
Explanation:
The ethical dilemma lies in the conflict between two moral principles. Such kinds of fictitious or imagined dilemmas often are designed to assess individuals' moral principles and moral reasoning.
If your ethical standards, beliefs, and values run against any at work. You could choose to be honest and dishonest and to choose between what you know is right and also what you know was wrong.
issue:
Ethical issues arise when a specific decision, situation, or activity clashes with the moral expectations of morality.
Sometimes these conflicts are lawfully hazardous, as some alternatives to solving the problem may violate a particular law.
Link: https://www.comptia.org/blog/ethical-problems-in-computing
Answer:
// here is code in C++(bmi.cpp).
#include <bits/stdc++.h>
using namespace std;
// main function
int main()
{
// variables
float weight,height;
cout<<"enter the weight(in kilograms):";
//read the weight
cin>>weight;
cout<<"enter the height(in meters):";
//read the height
cin>>height;
// calculate the bmi
float bmi=weight/(pow(height,2));
// print the body-mass index with two decimal places
cout<<"BMI is: "<<fixed<<setprecision(2)<<bmi<<endl;
return 0;
}
Explanation:
Read the weight from user and assign it to variable "weight",read height and assign it to variable "height".Then find the body-mass index as (weight/height^2).Here weight should be in kilograms and height should be in meters.
Output:
enter the weight(in kilograms):75
enter the height(in meters):1.8
BMI is: 23.15