Answer:
mylist = [ ]
for i in range(7):
mylist.append (int(input("Enter the number of bugs for each day ")))
print(mylist)
print("The highest number of bugs is ")
print(max((mylist)))
Explanation:
- Create and Initialize an empty (mylist)
- Using the .append method, we request and add the bugs for each day into the list
- print out the list
- Use the max function to find the highest number of bugs in the list and print it out
Answer:
Telecommunications are the means of electronic transmission of information over distances. The information may be in the form of voice telephone calls, data, text, images, or video. Today, telecommunications are used to organize more or less remote computer systems into telecommunications networks.
Explanation:
Among the choices given, the one that is considered false is <span>c. A cover letter is sent before a résumé so that the employer knows it is coming. This is because a cover letter is sent along with the applicant's resume. The cover letter is an optional message to the employer before he/she reads the resume. A cover can convey a person's personality, skills, and abilities.</span>
Answer:
Program approach:-
- Using the header file.
- Using the standard namespace I/O.
- Define the main function.
- Display the number of terms.
- Display the Fibonacci series.
- Print the first two numbers.
Explanation:
Program:-
//header file
#include <iostream>
//using namespace
using namespace std;
//main function
int main() {
int n, s1 = 0, s2 = 1, nextTerm = 0;
//display the number of terms
cout << "Enter the number of terms: ";
cin >> n;
//display the Fibonacci series
cout << "Fibonacci Series: ";
for (int j = 1; j <= n; ++j) {
// Prints the first two terms.
if(j == 1) {
cout << s1 << ", ";
continue;
}
if(j == 2) {
cout << s2 << ", ";
continue;
}
nextTerm = s1 + s2;
s1 = s2;
s2 = nextTerm;
cout << nextTerm << ", ";
}