Answer:
a) Global
Explanation:
The scope of a variable declared outside of any function is Global.
Let us consider an example:
int g;
int add(int a,int b){
return a+b;
}
int subtract(int a,int b){
return a-b;
}
Here the variable g is defined outside any function and is accessible anywhere within the program. This is a global variable.
Variables defined within each function - a,b on the other hand have a local scope are are visible only within their respective function bodies.
The issue arises because the string you are trying to print is not a string, rather a float value. Item1, item2 and item3 are strong values (if you type some alphabets in it and not just numbers), but itemonecost, itemtwocost, and itemthreecost are explicitly type casted to float. In line 22, 23, and 24 you’re trying to print a float, by adding it with the string. One cannot add numbers to string. Rather you can type cast the itemcost to string while printing.
Add str(itemonecost) instead of itemonecost in print statement. Do this for other float variables too.
However do note that there are multiple ways to correct this issue, and I’ve just pointed one out.
Answer:
An employee is having trouble opening a file on a computer.
- → ✔ <u>information services and support</u>
The president of a company wants to give the company website a fresh new look.
- → ✔ <u>interactive media</u>
An employee wants to work from home but can’t connect to the network from there.
- → ✔ <u>network systems administration</u>
The vice president of sales would like help designing a new software program to keep track of sales.
- → ✔<u> programming and software development</u>
<u>OAmalOHopeO</u>