I have a very good example of the program you need written on Python. You can use this (sorry for bad tabulation):
import math
import math
def main():
function = input("Enter a function f(x):\n")
x = 0
y = 0
for rows in range(10,-11,-1):
for col in range(-10,11,1):
x=col
roundfx = round(eval(function))
if roundfx == rows:
print("o", end="")
if rows==0 and col==0 and not rows == roundfx:
print("+", end="")
if col == 0 and not rows == 0 and not rows == roundfx:
print("|", end="")
if rows==0 and not col==0 and not rows == roundfx:
print("-", end="")
else:
if not rows == 0:
if not col == 0:
if not rows == roundfx:
print(" ", end="")
print()
main()
The 3 files you need to have for a successful mail merge are:
- An Excel spreadsheet works
- Outlook Contact List.
- Apple Contacts List or Text file, etc.
<h3>What is Mail Merge?</h3>
This is known to be the act of carrying out a Mail Merge and it is one where a person will need to use a Word document and a recipient list, that is an Excel workbook.
Files needed are:
- Text file,
- address files, etc.
The 3 files you need to have for a successful mail merge are:
An Excel spreadsheet worksOutlook Contact List.
Apple Contacts List or Text file, etc.
Learn more about mail merge from
brainly.com/question/20904639
#SPJ1
C and D are direct opposite so one of them cannot be true. A career will bring more responsibilities. So the answer is D. less responsibilities.
Answer:
/ declare the necessary header files.
#include <iostream>
#include <string>
#include <vector>
using namespace std;
// declare the main function.
int main()
{
// declare a vector.
vector<string> words;
vector<int> counts;
// declare variables.
int size;
string str;
cin >> size;
// start the for loop.
for(int i = 0; i < size; ++i)
{
// input string.
cin >> str;
words.push_back(str);
}
// start the for loop.
for(int i = 0; i < size; ++i)
{
int count = 0;
// start the for loop.
for(int j = 0; j < words.size(); ++j)
{
// check the condition.
if(words[j] == words[i])
{
count++;
}
}
counts.push_back(count);
}
// start the for loop.
for(int i = 0; i < size; ++i)
{
// display result on console.
cout << words[i] << "\t" << counts[i] << endl;
}
return 0;
}
Explanation:
Answer:
12 bits
Explanation:
With 12 bits you can represent numbers from 0 to 2¹²-1, i.e. 0 to 4095.
To check: with 11 bits you can only represent up to 2047, so that's not enough.
In general, to calculate the number of bits without trial and error, you can take the ²log of the number you want to represent and then round up:
²log(3001) = log(3001)/log(2) ≈ 11.55, rounded up is 12.