Answer:
A = 6*pow(n,3) +n - 2
Explanation:
I'm not sure if this what you need but that's what I can help you with :)
5.18 LAB: Output numbers in reverse Write a program that reads a list of integers, and outputs those integers in reverse. The input begins with an integer indicating the number of integers that follow. For coding simplicity, follow each output integer by a comma, including the last one. Ex: If the input is: 5 2 4 6 8 10 the output is: 10,8,6,4,2, To achieve the above, first read the integers into a vector. Then output the vector in reverse.
Answer:
In C++:
#include<iostream>
#include<vector>
using namespace std;
int main(){
int len, num;
vector<int> vect;
cout<<"Length: ";
cin>>len;
for(int i = 0; i<len;i++){
cin>>num;
vect.push_back(num);}
vector<int>::iterator iter;
for (iter = vect.end() - 1; iter >= vect.begin(); iter--){
cout << *iter << ", ";}
}
Explanation:
This declares the length of vector and input number as integer
int len, num;
This declares an integer vector
vector<int> vect;
This prompts the user for length
cout<<"Length: ";
This gets the input for length
cin>>len;
The following iteration gets input into the vector
for(int i = 0; i<len;i++){
cin>>num;
vect.push_back(num);}
This declares an iterator for the vector
vector<int>::iterator iter;
The following iterates from the end to the beginning and prints the vector in reverse
for (iter = vect.end() - 1; iter >= vect.begin(); iter--){
cout << *iter << ", ";}
Write code to take two words from the user. The program should convert these to lower case, then compare them: printing a positive number if string1 appears after string2 alphabetically, a negative number if string1 appears before string2 alphabetically and zero if the two strings are identical. Make sure your program does not produce any additional numerical output other than this number or it may not be graded correctly.
Answer:
Use compareTo.
Explanation:
import java.util.Scanner;
public class U2_L3_Activity_Three{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
System.out.println("Enter first word: ");
String word1 = scan.nextLine();
System.out.println("Enter second word: ");
String word2 = scan.nextLine();
//I had to make the string all lowercase or all uppercase for when I did this
word1 = word1.toLowerCase();
word2 = word2.toLowerCase();
System.out.println("Result: " + word1.compareTo(word2));
}
}
Following are the program to converting string value into lowercase and compare with an input string value.
Program Explanation:
Import package.Defining a class Dat.Inside the class defining the main method, and in the method, two string variable "string1, string2" is declared.After input, the value a "toLowerCase" method is used that converts string value into lower case. After converting value into the lower case a "compareTo" method is used that compares value and prints its value.Program:
import java.util.*;//import package for input
public class Dat //defining a Dat
{
public static void main(String[] ax)//main method
{
String string1 ,string2; //defining String variable
Scanner sc = new Scanner(System.in);//creating Scanner class object to input value
System.out.println("Enter values: ");//print message
string1= sc.next();//input value
string2= sc.next();//input value
string1= string1.toLowerCase();//convert string value into LowerCase
string2 = string2.toLowerCase();//convert string value into LowerCase
System.out.println("Result: " + string1.compareTo(string2));//using compareTo method
}
}
Output:
Please find the attached file.
Learn more:
brainly.com/question/15706308
Add (11011)2 + (111)2
Answer:
(11011)2+(111)2=(100010)2
hope it helps.
Answer:
(100010)square is the correct answer Hope it helps you have a great day keep smiling be happy stay safe ☺
Methods ii.) Define and implement a method that takes a string array as a parameter and returns the length of the shortest and the longest strings in the array i.) Write a method that take an integer array as a parameter and returns the sum of positive odd numbers and sum of positive even numbers. iii.) Implements the sequential search method that takes and array of integers and the item to be search as parameters and returns true if the item to be searched in the array, return false otherwise
Answer:
Explanation:
Well I am sorry I don't know the answer anyway.
Your friend really likes talking about owls. Write a function owl_count that takes a block of text and counts how many words they say have word “owl” in them. Any word with “owl” in it should count, so “owls,” “owlette,” and “howl” should all count.
Here’s what an example run of your program might look like:
text = "I really like owls. Did you know that an owl's eyes are more than twice as big as the eyes of other birds of comparable weight? And that when an owl partially closes its eyes during the day, it is just blocking out light? Sometimes I wish I could be an owl."
owl_count(text)
# => 4
Hints
You will need to use the split method!
Here is what I have so far, it doesn not like count = 0 and i keep getting an error.
def owl_count(text):
count = 0
word = 'owl'
text = text.lower()
owlist = list(text.split())
count = text.count(word)
text = "I really like owls. Did you know that an owl's eyes are more than twice as big as the eyes of other birds of comparable weight? And that when an owl partially closes its eyes during the day, it is just blocking out light? Sometimes I wish I could be an owl."
print (count)
In this exercise we have to use the knowledge of computational language in python, so we find the code like:
The code can be found attached.
So let's write a code that will be a recognition function, like this:
def owl_count(text):"I really like owls. Did you know that an owls eyes are more than twice as big as the eyes of other birds of comparable weight?"
word = "owl"
texts = text.lower()
owlist = list(texts.split())
count = text.count(word)
num = [owlist, count] #num has no meaning just random var
print(num)
See more about python at brainly.com/question/26104476
when working with smart which tab would provide the ability to change the shape or size of the smart art shapes
Answer:
B) Format
Explanation:
Suppose you present a project and your supervisor comments that the graphics need to be a higher quality and suggests you replace a circuit board. To what circuit board is your supervisor referring?
graphics card
video card
sound card
system card
Answer:graphics card
Explanation:
Answer:
graphics card
Explanation:
Which of the following algorithms is the same as the flowchart shown below?
Start
mylum - RANDOM(1,10)
false
DISPLAY("Done
DISPLAY()
O Amylum - RANDOM (1, 19)
IF (byllum > 8)
(
DISPLAY("Done")
ELSE
(
DISPLAY(myNum)
}
OB. myllum - RANDOM(1, 18)
REPEAT UNTIL (byllum > 8)
{
DISPLAY(myNum)
myllum - RANDOM(1,18)
}
DISPLAY("Done")
Octylum - RANDOM(1, 18)
IF (myllum < 8)
{
DISPLAY("Done")
ELSE
{
DISPLAY(myllum)
)
O D. myllum - RANDOM(1, 18)
REPEAT UNTIL (myNun > 8)
{
DISPLAY("Done")
DISPLAY(byllum)
Answer:
choice b
Explanation:
The algorithms are the same as the flowchart shown below is myllum - RANDOM(1, 18), REPEAT UNTIL (byllum > 8) { DISPLAY(myNum)myllum - RANDOM(1,18)} DISPLAY("Done"). The correct option is B.
What is an algorithm?The definition of algorithms in computer science. An algorithm is a list of instructions used in computer science to solve problems or carry out activities based on knowledge of potential solutions.
Think of a "black box," or a container where nobody can see what is occurring within. The box accepts our input and produces the output we require, but the process by which input is transformed into the intended output—and which we may need to understand—is an ALGORITHM.
Therefore, the correct option is B. myllum - RANDOM(1, 18)REPEAT UNTIL (byllum > 8){DISPLAY(myNum)myllum - RANDOM(1,18)}DISPLAY("Done").
To learn more about an algorithm, refer to the link:
https://brainly.com/question/22984934
#SPJ5
Output devices include:
A) Printers, and Monitors
B) CPU
C) System Unit
D) None of the above
Answer:
CPU IS TH ANSWER BECAUSE IT IS OUT
Was Nick Carson a good project manager? Why or why not?
Answer:
Nick Carson is not a good project manager because he did not focus on all aspects of the project. He also failed to provide accurate schedules and also detailed plans on the happenings of the project. He was performing other jobs leaving aside the work of project manager. Without concerning and understanding the problem of top management he delivered the project.
Explanation:
Write a program that asks the user to enter five test scores. The program should display a letter grade for each score and the average test score. Write the following methods in the program: calcAverage: This method should accept five test scores as arguments and return the average of the scores. determineGrade: This method should accept a test score as an argument and return a letter grade for the score, based on the following grading scale:
Answer:
See comment for complete question
#include <iostream>
using namespace std;
double calc_Average(double sc1, double sc2, double sc3, double sc4, double sc5){
return (sc1 + sc2 + sc3 + sc4 + sc5)/5;
}
char determine_Grade(double score){
char grade;
if(score >= 90 && score <=100){
grade = 'A';}
else if(score >= 80 && score <90){
grade = 'B';}
else if(score >= 70 && score <80){
grade = 'C';}
else if(score >= 60 && score <70){
grade = 'D';}
else if(score <60){
grade = 'F';}
return grade;
}
int main(){
double sc1,sc2, sc3, sc4, sc5;
cout<<"Enter 5 scores: ";
cin>>sc1>>sc2>>sc3>>sc4>>sc5;
cout<<"Score: "<<sc1<<" Grade: "<<determine_Grade(sc1)<<endl;
cout<<"Score: "<<sc2<<" Grade: "<<determine_Grade(sc2)<<endl;
cout<<"Score: "<<sc3<<" Grade: "<<determine_Grade(sc3)<<endl;
cout<<"Score: "<<sc4<<" Grade: "<<determine_Grade(sc4)<<endl;
cout<<"Score: "<<sc5<<" Grade: "<<determine_Grade(sc5)<<endl;
double Ave = calc_Average(sc1,sc2,sc3,sc4,sc5);
cout<<"Average: "<<Ave<<" Grade: "<<determine_Grade(Ave)<<endl;
return 0;
}
Explanation:
The program was written in C++. Because of the length of the explanation, I've added the explanation as an attachment where I used comments to explain the lines of the code.
Write your own printArray() function found in Processing for the Arduino. For simplicity, you can limit printArray() to integer arrays and you will also pass the size of the array to your function. For example, given the following code:
int terps[5] = {7, 9, 12, 1, 46};
void printArray(int arrayToPrint[], int arraySize) { // YOUR CODE HERE }
void setup()
{ // put your setup code here, to run once:
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
printArray(terps,sizeof(terps)/sizeof(int)); delay(1000);
}
You should repeatedly see the following in the serial monitor:
[0]: 7
[1]: 9
[2]: 12
[3]: 1
[4]: 46
Answer:
Follows are the method definition to this question:
void printArray(int arrayToPrint[], int arraySize) //defining a method printArray that accepts two array in its parameters
{
for (int j = 0; j < arraySize; j++)//defining for loop print Serial numbers
{
Serial.print("[");//use print method to print square bracket
Serial.print(j);//use print method to print Serial numbers
Serial.print("]: ");//use print method to print square bracket
Serial.println(arrayToPrint[j]);//printing array value
}
}
Explanation:
In the above code, a method "printArray" is declared that holds two arrays "arrayToPrint and arraySize" as a parameter, and inside the method is used for loop to print the values.
In the loop, first, it uses the square bracket to print the serial number and in the last step, it prints array values.
Write the definition of the function inputArray that prompts the user to input 20 numbers and stores the numbers into alpha. Write the definition of the function double Array that initializes the elements of beta to two times the corresponding elements in alpha. Make sure that you prevent the function from modifying the elements of alpha. Write the definition of the function copy AlphaBeta that stores alpha into the first five rows of matrix and beta into the last five rows of matrix. Make sure that you prevent the function from modifying the elements of alpha and beta. Write the definition of the function printArray that prints any one-dimensional array of type int. Print 15 elements per line.
Answer:
In Java:
public static int[] inputArray(){
Scanner input = new Scanner(System.in);
int[] alpha = new int[20];
for(int i = 0;i<20;i++){
alpha[i] = input.nextInt();
}
return alpha;}
public static int[] doubleArray(int [] alpha){
int[] beta = new int[20];
for(int i = 0;i<20;i++){
beta[i] = 2 * alpha[i];
}
return beta;
}
public static int[] copyAlphaBeta(int [] alpha, int [] beta){
int [] AlphaBeta = new int[10];
for(int i = 0;i<5;i++){
AlphaBeta[i] = alpha[i];
}
int count = 5;
for(int i = 15;i<20;i++){
AlphaBeta[count] = beta[i];
count++;
}
return AlphaBeta;
}
public static void printArray(int [] alpha){
for(int i = 0;i<20;i++){
System.out.print(alpha[i]+" ");
if((i+1)%15 == 0){
System.out.println(" ");
}
}
}
Explanation:
The inputArray is defined here
public static int[] inputArray(){
Scanner input = new Scanner(System.in);
This declares alpha array of 20 elements
int[] alpha = new int[20];
The following iteration gets input from the user into the array
for(int i = 0;i<20;i++){
alpha[i] = input.nextInt();
}
This returns the alpha array
return alpha;}
The doubleArray is defined here. It takes the alpha array as its input parameter
public static int[] doubleArray(int [] alpha){
This declares beta of 20 integers
int[] beta = new int[20];
This populates beta by 2 * alpha[i]
for(int i = 0;i<20;i++){
beta[i] = 2 * alpha[i];
}
This returns the alpha array
return beta;}
The copyAlphaBeta array is defines here
public static int[] copyAlphaBeta(int [] alpha, int [] beta){
This declares AlphaBeta as 10 elements
int [] AlphaBeta = new int[10];
This populates the first 5 elements of AlphaBeta with the first 5 of alpha
for(int i = 0;i<5;i++){
AlphaBeta[i] = alpha[i];
}
int count = 5;
This populates the last 5 elements of AlphaBeta with the last 5 of beta
for(int i = 15;i<20;i++){
AlphaBeta[count] = beta[i];
count++;
}
This returns the AlphaBeta array
return AlphaBeta;
}
The printArray is defined here. It takes the alpha array as its input parameter
public static void printArray(int [] alpha){
This iterates through alpha array
for(int i = 0;i<20;i++){
This prints each element of the array
System.out.print(alpha[i]+" ");
A new line is started after the 15th element
if((i+1)%15 == 0){
System.out.println(" ");
}
}
}
See attachment for complete program which includes the main
Are items a through e in the following list algorithm? If not, what qualities required of algorithms do they lack?
a. Add the first row of the following matrix to another row whose first column contains a nonzero entry. (Reminder: Columns run vertically; rows run horizontally.)
[1 2 0 4 0 3 2 4 2 3 10 22 12 4 3 4]
b. In order to show that there are as many prime numbers as there are natural numbers, match each prime number with a natural number in matching the first prime number with 1 (which is the first natural number) and the second prime number with 2, the third with 3, and so forth. If, in the end, it turns out that each prime number can be paired with each natural number, then it is shown that there are as many prime numbers as natural numbers.
c. Suppose you're given two vectors each with 20 elements and asked to perform the following operation. Take the first element of the first vector and multiply it by the first clement of the second vector. Do the same to the second elements, and so forth. Add all the individual products together to derive the dot product.
d. Lynne and Calvin are trying to decided who will take the dog for a walk. Lynne suggests that they flip a coin and pulls a quarter out of her pocket. Calvin does not trust Lynne and suspects that the quarter may be weighted (meaning that it might favor a particular outcome when tossed) and suggests the following procedure to fairly determine who will walk the dog.
1. Flip the quarter twice.
2. If the outcome is heads on the first flip and tails on the second, then I will walk the dog.
3. If the outcome is tails on the first flip, and heads on the second, then you will walk the dog.
Answer:
Following are the responses to the given points:
Explanation:
The following features must contain a well-specified algorithm:
Description [tex]\to[/tex] Exact measures described
Effective computation [tex]\to[/tex] contains steps that a computer may perform
finitude [tex]\to[/tex] It must finish algorithm.
In choice "a", there is little algorithm Because it does not stop, finiteness has already been incomplete. There is also no algorithm.
In choice "b", it needs productivity and computational burden. because it's not Enter whatever the end would be.
In choice "c", the algorithm is given the procedure. It fulfills all 3 algorithmic properties.
In choice "d", each algorithm is a defined process. Since it needs finitude.
I need help Asap!!! So the question is "Compare and contrast Web page and Websites".
Answer:
A website is a mix of web pages while a web page is a single entity.
Explanation:
What is open source software?
Answer:
Open source software is free, modifiable, and is able to be redistributed. It is beneficial to those wanting to customize the software to suit their purposes as it can be easily shared and redistributed.
starting a computer or computer embedded devices is called
Answer:
Booting
Explanation:
starting a computer is called booting. In addition restarting is known as rebooting.
Difference between a port and a connector
Explanation:
A connector is the unique end of a plug, jack, or the edge of a card that connects into a port. Port: The port has either holes or a slot that matches the plug or card being connected into the port. For example: cables are plugged into Ethernet ports, and cables and flash drives are plugged into USB ports.Select the correct answer from each drop-down menu.
translate the entire program source code at once to produce object code, so a program written in
runs faster than an equivalent program written in
Answer:
A compiler translates a program written in a high level language
A compiler translate the entire program source code at once to produce object code, so a program written in low-level language runs faster than an equivalent program written in high-level language.
What is a compiler?A compiler can be defined as a software program that is designed and developed to translate the entire source code of program at once, so as to produce object code, especially a software program that is written in a high-level language into low-level language (machine language).
In conclusion, we can deduce that a compiler translate the entire program source code at once to produce object code, so a program written in low-level language runs faster than an equivalent program written in high-level language.
Read more on software here: brainly.com/question/26324021
#SPJ2
3. Given the following total revenue functions, find the corresponding demand functions:
a) TR = 50Q-4Q²
b) TR = 10
a)TR=50Q4Q2 I hope.this helps
A) The demand function for the total revenue function TR = 50Q - 4Q² is;
P = 50 - 4Q
B) The demand function for the total revenue function TR = 10 is; 10/Q
We are given total revenue functions as;
TR = 50Q - 4Q²
TR = 10
A) TR = 50Q - 4Q²
Formula for revenue function if Q represents the units demanded is;
TR = P × Q
Where P is the demand function
Thus;
50Q - 4Q² = PQ
Divide both sides by Q to get the demand function;
P = 50 - 4Q
B) TR = 10
Formula for revenue function if Q represents the units demanded is;
TR = P × Q
Where P is the demand function
Thus;
10 = P × Q
Divide both sides by Q to get the demand function;
P = 10/Q
Read more at;https://brainly.com/question/13701068
the _ and _ services help us to keep in touch with our family and friends
Answer:
Internet and communication technology
25 POINTS PLATO
Drag the tiles to the boxes to form correct pairs.
Pat creates a table in a spreadsheet program, starting at cell A1 and ending at cell B4. Column A contains words, while column B contains the words’ meanings. Pat wants to look up the meaning of the word "paramount", which is present in cell A3. How should Pat write the LOOKUP function? Refer to the syntax of the function and match the arguments in the syntax to their values.
Syntax: LOOKUP(lookup value; search table; result table)
B1:B4
"paramount"
A1:A4
lookup value
search table
result table
Answer:
lookup value = "paramount"
Search table = A1:A4
Result table = B1;B4
Explanation:
lookup, what are we looking up.....:::///????Paramount
What is the beginning search table......A1;A4
Column B contains the words meanings.....this is the result we want:
So the Result table......B1:B4
LOOKUP("paramount"; B1:B4; A1:A4) should Pat write the LOOKUP function.
What is a LOOKUP function?Lookup functions entail accessing a cell, comparing its values to those in an adjacent row or column, and then extracting the relevant answers from the associated columns or rows of Excel.
The lookup value, the search table, and indeed the result table are the three inputs required by the LOOKUP function. The value you are searching for, in this case, "paramount," is the lookup value.
The table that contains the lookup value, throughout this example B1:B4, is known as the search table.
The table where the results of the lookup are stored is known as the result table, and in this example, A1:
Pat should use the columns which would have the cell value of B1, B4 as well as A1.
Learn more about the LOOKUP function, here:
https://brainly.com/question/29517410
#SPJ3
Q3: Create a class called Employee that includes three instance variables—a first name (typeString), a last name (type String) and a monthly salary (double). Provide a constructor that initializesthe three instance variables. Provide a set and a get method for each instance variable. If the monthly salary is not positive, do not set its value. {Do not write a full program, only a class}
Answer:
Follows are the code to the given question:
public class Employee //defining a class Employee
{
String first_name,last_name;
Double monthly_salary;
Employee(String first_name,String last_name,Double monthly_salary)
{
this first_name=f_name// initialize value in first_name
this last_name = l_name; // initialize value in the last_name
this monthly_salary = m_salary; // initialize value in the monthly_salary
if (monthly_salary < 0.0)//use if to check monthly_salary is positive
monthly_salary = 0.0;//set value 0
}
void setfirst_name (String f_name)//defining set method to store first_name
{
first_name = f_name; //holding the value of first_name
}
public String getfirst_name ()//defining get method to return first_name
{
return first_name;//return first_name
}
public void setlast_name (String l_name)//defining set method to store last_name
{
last_name = l_name; // holding the value of the last_name
}
public String getlast_name ()//defining get method to return last_name
{
return last_name;//return last_name
}
public void setmonthly_salary(double m_salary)//defining set method to store monthly_salary
{
monthly_salary = m_salary; // holding the value of the monthly_salary
}
public double getmonthly_salary ()//defining get method to return monthly_salary
{
return monthly_salary;//return monthly_salary
}
}
Explanation:
In this code, a class "Employee" is declared that defines two string variables "first_name,last_name", and one double variable "monthly_salary". In the next step, a parameterized constructor is defined that stores the value into the variable, and use if block to check "monthly_salary" is a positive. It also uses the getter and setter method to hold and return its value.
You are going on vacation and want to take some work files. You need a storage device that is small enough to fit in your bag and preferably one that does not have plugs. Which device should you bring?
hard drive bus
flash drive
external hard drive
storage card
Answer:
Flash drive
Explanation:
Given the following table of students, assignments, and grades for a single class:
Student_ID
Student_Name
Assignment_1_Date
Assignment_1_Name
Assignment_1_Grade
Assignment_2_Date
Assignment_2_Name
Assignment_2_Grade
Assignment_3_Date
Assignment_3_Name
Assignment_3_Grade
1011
Susan J. Smith
2015-06-01
Homework - Chapter Seven
76
2015-06-05
Chapter 7 Quiz
88
2015-06-12
Homework – Chapter 8
A
2332
Jones, Jamal K.
2015-06-01
Homework - Chapter Seven
84
2015-06-05
Quiz – Chapter 7
89
2015-06-12
Homework – Chapter 8
95
3432
Brown, Ronald
2015-06-01
Homework - Chapter Seven
66
2015-06-05
Quiz – Chapter 7
78
2015-06-12
Homework – Chapter 8
B
5435
Killen, Katie
2015-06-01
Homework - Chapter Seven
97
2015-06-05
Chapter 7 – Quiz
95
2015-06-12
Homework – Chapter 8
94
7574
Powell, B.
2015-06-01
Homework - Chapter Seven
68
2015-06-05
Quiz – Chapter 7
89
9677
Pat Hayes
6/1/2015
Homework - Chapter Seven
89
2015-06-05
Quiz – Chapter 7
85
2015-06-12
Homework – Chapter 8
99
Examine the data in the table above and identify any columns that contain data inconsistencies. Place an X in the Consistent or Inconsistent column.
Answer:
i need more
Explanation:
i need more
We are supposed to go to the concert tomorrow, but it has been raining for three days straight. I just know that we won’t be able to go.
7. What is the author’s tone?
Its the worried tone
Hope this helps!
There Will Come Soft Rains is a warning story about nuclear war and how, in the end, technology won't keep us safe. In response to the atomic bombings of Hiroshima and Nagasaki, Bradbury penned the tale.
What author’s worried tone indicate about rain?Ray Bradbury wrote the classic science fiction short tale “There Will Come Soft Rains” in 1950. The narrative is narrated in a detached, emotionless tone, as though the events that are taking place are a normal part of everyday life.
The story's meaning can be found in the story's complete lack of human beings, not even corpses.
Soft rain rays will appear in the short story. Bradbury creates a disorganized, somewhat post-apocalyptic atmosphere. To better understand the zeitgeist of the world, he employs a variety of literary techniques.
Therefore, It's the worried tone author’s.
Learn more about author’s here:
https://brainly.com/question/1308695
#SPJ5
1, How can technology serve to promote or restrict human rights? [2 points]
Answer:
Examples of how technology can be used as a powerful tool for human rights are ever expanding. Newer technologies such as artificial intelligence, automation, and blockchain have the potential to make significant positive contributions to the promotion and protection of human rights.
When you use a rest area, you should:
A. Make sure your windows are closed tightly
B. Stop in a dark place where you can sleep
C. Walk around your car after resting
D. Sleep with the windows rolled down
Write a print statement that uses an f-string to output $5,242.83
Answer:
print("${:,.2f}".format(5242.83))
Explanation:
Given
$5,242.83
Required
Use an f string to output the above
The syntax of an f-string to format a number in that regard is: "${:,.2f}".format(number)
$ means that a dollar sign be printed before the required number
., means that the number be separated with commas
2f means that the number be presented in 2 decimal places
So:
"${:,.2f}".format(number) becomes
"${:,.2f}".format(5242.83)
In a print statement, the full instruction is:
print("${:,.2f}".format(5242.83))
Consider the security of a mobile device you use
(a) Explain how transitive trust applies to your use of an operating system on a
mobile device (e.g. smartphone). Then, explain how an attacker can exploit this
transitive trust to violate the CIA properties of the software and data on your
device
Answer:
keep it private
Explanation: