Answer:
The default zoom percentage in Word is 100%.
Answer:
100
Explanation:
(20 points). Some matrixes have very special patterns, for example, in the following matrix, the numbers in the first row are equal to the number of their respective column; the numbers in the first column are equal to the square of the number of their respective row; when the row number equals to the column number, the elements are equal to 1; the rest elements are the sum of the element just above them and the one to their left. Write a user-defined function program in the program, you need to use while loops), and then use the function you write to create the following matrix (show the command you use). 1 4 9 16 2 1 10 26 3 4 1 27 4 5 8 13 9 22 1 23
Answer:
#include <iostream>
using namespace std;
void matrix(){
int row = 5, col = 6;
int myarr[row][col];
for (int i = 0; i < 5; i++){
for (int x = 0; x < 6; x++){
if (i == 0){
myarr[i][x] = (x+1)*(x+1);
}else if ( x == 0){
myarr[i][x] = (i+1)*(i+1)*(i+1);
} else if ( i == x){
myarr[i][x] = (i+1);
} else{
myarr[i][x] = myarr[i-1][x] + myarr[i][x-1];
}
}
}
for (int i = 0; i < 5; i++){
for (int x = 0; x < 6; x++){
cout<< myarr[i][x] << " ";
}
cout<< "\n";
}
}
int main(){
matrix();
}
Explanation:
The C++ source code defines a two-dimensional array that has a fixed row and column length. The array is a local variable of the function "matrix" and the void function is called in the main program to output the items of the array.
Write a java program to read an array of positive numbers. The program should find the difference between the alternate numbers in the array and find the index position of the smallest element with largest difference. If more than one pair has the same largest difference consider the first occurrence.
Answer:
int s;
int[] num= new int[s];
Scanner sc = new Scanner(System.in);
System.out.printIn("Enter array size");
size = sc.nextInt();
for (i = 0; i < s; i++){
num[i] = sc.nextInt();
}
int[] difference;
int count = 0;
for (i = 0; i < num.length(); i= i + 2){
if (num[i] > num[i+1]){
difference[count] = num[i] -num[i+1];
}else{
difference = num[i+1] - num[i];
}
}
int max = 0;
for (int i : difference) {
if ( i > max){
max = i;
}
}
int result = Arrays.stream(difference).boxed().collect(Collectors.toList().indexOf(max);
System.out.printIn(result);
Explanation:
The Java source code uses procedural method to execute a task. The program prompts for user inputs for the array size and the items in the array. Assuming the array has an even length, the adjacent items of the array are subtracted and stored in another array called difference. The index of the maximum value of the difference array is printed on screen.
After reading through the code, what will happen when you click run?
Answer:
B.) Laurel will try to collect treasure when there is not any and it causes an error
Explanation:
Laurel is at the top right corner of the map. When you click run, laurel moves 1 step ahead. This spot is right above the coordinate of the very first diamond. There is no treasure at this spot.
Therefore, when the next command calls for collecting, there will be an error, as there is no treasure at the spot right above the first diamond.
computer is an electronic machine that is used for data processing to produce meaningful information explain in statement
What will be result of below if statement.
if (Grade >= 90)
puts("A");
What’s the answer?
Explanation:
pls check it ur answer hp u understand this
Write a program that prompts the user to input a string and outputs the string in uppercase letters. (Use a character array to store the string.)
Answer:
Explanation:
The following code is written in Java. It asks the user for a string/sentence and then grabs every character in the string, capitalizes it, and saves it in a char ArrayList. Then it concatenates the char array into a String variable called output and prints the capitalized String.
public static void capitalizeMe() {
Scanner in = new Scanner(System.in);
System.out.println("Enter a String:");
String inputSentence = in.nextLine();
ArrayList<Character> capitalString = new ArrayList<Character>();
for (int x = 0; x < inputSentence.length(); x++) {
capitalString.add(Character.toUpperCase(inputSentence.charAt(x)));
}
String output = "";
for (char x: capitalString) {
output += x;
}
System.out.println(output);
}
Where can a client identify the instant deposit options for their QuickBooks Payments account?
Deposits tab
Account and Settings
Invoices tab
Create Invoice screen
Banking Center
Answer:
Banking centre
.
.
..
.
.
.
.
.
.
.
Write a program that can be used to calculate the federal tax. The tax is calculated as follows: For single people, the standard exemption is $4,000; for married people, the standard exemption is $7,000. A person can also put up to 6% of his or her gross income in a pension plan. The tax rates are as follows: If the taxable income is:
Between $0 and $15,000, the tax rate is 15%.
Between $15,001 and $40,000, the tax is $2,250 plus 25% of the taxable income over $15,000.
Over $40,000, the tax is $8,460 plus 35% of the taxable income over $40,000. Prompt the user to enter the following information:
Marital status
If the marital status is “married,” ask for the number of children under the age of 14
Gross salary (If the marital status is “married” and both spouses have income, enter the combined salary.)
Percentage of gross income contributed to a pension fund Your program must consist of at least the following functions:
Function getData: This function asks the user to enter the relevant data.
Function taxAmount: This function computes and returns the tax owed.
To calculate the taxable income, subtract the sum of the standard exemption, the amount contributed to a pension plan, and the personal exemption, which is $1,500 per person. (Note that if a married couple has two children under the age of 14, then the personal exemption is $1,500 ∗ 4 = $6,000.)
Since your program handles currency, make sure to use a data type that can store decimals with a decimal precision of 2.
Answer:
?
Explanation:
You can ask for helps on sites meant specifically for coding like cpphelp and stackoverflow
Which file extension indicates a text document? .ppt .tst .pdf .txt
Answer:
The answer is .txt
Explanation:
Answer:
.txt
Explanation:
odesseyware 2021
________ reveals functional requirements regarding the exchange of data and services between systems.
a. Observations
b. User interface analysis
c. Document analysis
d. System interface analysis
What is Memory Card? Explain?
A memory card is basically a card that holds memory. The card can be removed at anytime and put into any other device. It is mainly used for extra storage and to transport videos, pictures, etc. to other devices
Hope this helps. : )
what is output? x=-2 y=-3 print (x*y+2)
Answer:
=8
Aaaaaaaaaansjxjdjsaaaaaaa
Explanation:
-2*-3=6+2=8
What are differences between manual formatting and formatting in word
processor?
What is Code?
A) Rules of conduct
B) One or more commands designed to be carried out by a computer.
C) A pack between friends.
D) Edoc spelled backwords.
Answer:
In a class of statistics course, there are 50 students, of which 15 students scored B, 25 students scored C and 10 students scored F. If a student is chosen at random from the class, what is the probability of scoring
not F?
Explanation:
Answer:
its b it's like opening multiple tabs
If you have a line that is 2.5 inches in decimal, what is that in fraction form?
2 5/16 inches
2 1/4 inches
2 3/4 inches
2 1/2 inches
If you are asked to measure 9/16th on a ruler how many lines would you have to count?
Answer: 2 1/2 inches; 9 lines
Explanation:
If one has a line that is 2.5 inches in decimal, this in fraction form will be written as:
= 2.5 inches = 2 5/10 inches.
When we reduce 5/10 to its lowest term, this will be 1/2. Therefore 2.5 inches = 2 1/2 inches.
Since each mark on a ruler is 1/16, therefore 9/16 will be (9/16 ÷ 1/16) = (9/16 × 16/1) = 9 lines
write instruction to recharge mobile phone
These are some instructions to recharge a mobile phone:
You need to have a phone charger.Connect your phone charger to your phone.Then connect it to the electricity.Wait for the mobile phone to charge fully.Disconnect your phone from the phone charger and the electricity.How do you give instructions?In this exercise, you have to give instructions to charge a mobile phone.
When you have to give instructions it is helpful to explain every action using a specific order so it is easier for the other person to understand the instructions.
Check more information about mobile phones here https://brainly.com/question/9447658
In the program below, which variable has the same scope as strA?
def usernameMaker (strFirst, strLast):
return strFirst + strLast[0]
def passwordMaker (strA, numC):
if len(strA) > 4:
answer = dogName[0:3]
return answer + str(numC)
else:
return 'xk&' + str(numC)
Answer:
" numC " is the correct answer
Explanation:
The reason is that on line 3 of code it has "def passwordMaker (strA, numC):"
strA and numC are both in "( )" which is the scope and only things inside are varibles. Also its the only line that has strA in it.
The scope of a variable is the extent at which the variable can be referenced.
The variable with the same scope as strA is variable numC
From the program, we have the following function definition
def passwordMaker (strA, numC):
Variables strA and numC are declared along with the function passwordMaker
This means that:
Variables strA and numC have the same scope
Hence, the variable with the same scope as strA is variable numC
Read more about scopes of variables at:
https://brainly.com/question/17102008
Rosa is building a website for a multimedia company. She wants to add a drop-down menu functionality to the website's main page. Which
markup language or technology will allow Rosa to add this element?
OA. HTML
OB. Semantic HTML
OC. DHTML
OD. XML
Answer:
The correct answer is C. DHTML.
Explanation:
I got it right on the Edmentum test.
Explain the concept of Informed Consent?
what command in cisco IOS allows the user to see the routing table
Answer:
Show IP route command
Explanation:
Calculate the heat energy required to raise the temperature of 5 kg of water from 20℃ to
40℃. Specific heat capacity of water is 4200 J kg-1 k-1
Given that,
Mass of water, m = 5 kg
The temperature increases from 20℃ to 40℃.
Specific heat capacity of water is 4200 J kg⁻¹ k⁻¹
To find,
Heat energy required to raise the temperature.
Solution,
The formula for the heat energy required to raise the temperature is given by :
[tex]Q=mc\Delta T\\\\=5\times 4200\times (40-20)\\\\=420000\ J\\\\=420\ kJ[/tex]
So, the heat energy required is 420 kJ.
What is the main advantage that a website builder offers for web development?
OA. It enables people with no coding skills to create websites.
OB. It allows developers to debug the code on your website.
OC. It allows developers to adjust the finer details more easily than an IDE does.
OD. It provides tools such as a resource manager and interpreter.
Answer: A
It enables people with no coding skills to create websites.
Explanation:
Which type(s) of license(s) allow the underlying software code to be viewed?
a. Freeware
b. Free software
Answer:
The correct answer is B. Free software.
Explanation:
Free software is a term used for software that the holder can use, copy, read, modify and distribute with or without modification at will. Software that falls under this category includes software that is not protected by copyright laws or software that is licensed to be used in this way.
Motives for developing free software can be technical, economic or social. What is significant for developers is the desire to develop as producers of programs by learning from other producers. The desire to help others is also a major motive.
Write a function max_magnitude() with two integer input parameters that returns the largest magnitude value. Use the function in a program that takes two integer inputs, and outputs the largest magnitude value. Ex: If the inputs are: 5 7 the function returns: 7 Ex: If the inputs are: -8 -2 the function returns: -8 Note: The function does not just return the largest value, which for -8 -2 would be -2. Though not necessary, you may use the built-in absolute value function to determine the max magnitude, but you must still output the input number (Ex: Output -8, not 8). Your program must define and call the following function:
Answer:
The question is answered in python
def max_magnitude(a,b):
if abs(a) > abs(b):
return a
else:
return b
num1 = int(input("Num 1: "))
num2 = int(input("Num 2: "))
print(max_magnitude(num1,num2))
Explanation:
This question is answered using the concept of absolute value to get the integer with the highest magnitude
First, the function is defined with integer parameters a and b
def max_magnitude(a,b):
This checks if a has the highest magnitude
if abs(a) > abs(b):
If true, it returns a
return a
If otherwise, it returns b
else:
return b
The main starts here
The next two lines prompt the user for inputs
num1 = int(input("Num 1: "))
num2 = int(input("Num 2: "))
This calls the function
print(max_magnitude(num1,num2))
Please!! I need help, this is due by tonight!!!
Answer:
sorry if it is too late but I think it is d
Explanation:
What two solutions address lack of human access to clean water
Answer:
THREE strategies which local municipality is implementing in addressing the issue of lack of clean water caused by human factors include:
1) Increasing the amount of tax for those companies which are opening their wastes into water sources which can help built better water cleaning and recycle system.
2) Tree plantation is another strategy to help secure the water sources and naturally keep cleaning it.
3) Running awareness campaigns for general people to keep the water sources clean as well as use the only amount of water which they need and not waste it.
Explanation:
i hope this helps you
y'+2y = 5-e^(-4x), y(0)=-11
Use Euler's Method with a step size of h = 0.1 to find approximate values of the solution as x= 0.1, 0.2, 0.3, 0.4, and 0.5. Compare them to the exact values of the solution at these points.
Answer:
see attached
Explanation:
A differential equation solver says the exact solution is ...
y = 5/2 -14e^(-2x) +1/2e^(-4x)
The y-values computed by Euler's method will be ...
y = ∆x·y' = 0.1(5 - e^(-4x) -2y)
The attached table performs these computations and compares the result. The "difference" is the approximate value minus the exact value. (When the step size is decreased by a factor of 10, the difference over the same interval is decreased by about that same factor.)
A hacker posing as a potential customer has connected to your network and has discovered that a server running Windows Server has a configuration that a misconfiguration on a Windows Server that exposes the PowerShell prompt. The hacker executes a script to log valuable information about the server. Which vulnerabilities did the hacker exploit
Answer:
Lack of ips
Insecure configuration
Explanation:
Lack of IPS
This is fully known as intrusion prevention softwares this works by enabling the firewall and protecting the computer system from unauthorised users and potential attackers and it prevents data from being stolen by identifying potential attacks. It monitors the network continuously, thereby looking for possible malicious threats and also capturing informations about these threats.
Insecure configuration
Obviously if you have power shell enabled then you would have a secure configuration. Attackers can easily access your system in the presence of this flaw.
what command in cisco IOS allows the user to see the routing table
Answer:
show ip route [[ipAddress [mask]] [bgp | connected | mpls [ipAddress] [ipAddress/PrefLen] [ipAddress mask] [detail] | isis | ospf | static | summary | multicast |unicast]
Explanation:
the show ip route command will show the entire ip route table. If you put in no arguments it will display them all.
A browser is an example of a. :
general-purpose application
specialized
program
system application
utility program