Answer:
brainliest plsss
Explanation:
I think so this is what you had asked!!!!!!
hope it helps
Answer:
a variable of type "double" is more suitable for finding average because average could be any number with decimal places. we can't use a variable of type "integer" because it will omit the value after the decimal and will not produce satisfactory results.
Explanation:
an example of C++ code is given to find the average of two numbers a and b
#include <iostream>;
using namespace std;
int main() {
double a = 2.334;
double b = 34;
double average = (a + b) / 2;
cout << average;
return 0;
}
D. View.
You can find the workspace and preview of the file in View.
Answer:
WITH deptsalary AS (
SELECT dept, SUM(salary)
FROM emp
GROUP BY dept)
SELCT *
FROM deptsalary
Explanation:
deptsalary is temporary table.
dept and its respective sum of salary is to be displayed