1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
irina1246 [14]
4 years ago
13

PLEASE NOW PLEASE IM BEGGING TIME LITMITED:

Computers and Technology
1 answer:
crimeas [40]4 years ago
3 0

Answer:

with only 1 print statement and using No Space Characters, output the text ... quote_me takes a string argument and returns a string that will display ... White has sizes L, M; Blue has sizes M, S ... input("Input shirt color: ").lower() size = input("Input shirt size: ").upper() if color ... call the function with a string from user input.

Read the pseudo code for the program: Input: Ask user what size shirt—small, medium, large, or extra-large. Ask user what color—blue, green, red, or yellow. Ask user what design—chevron, solid, or stripes. Output: Print a message that clearly displays the user's shirt size, color, and design.

Explanation:

You might be interested in
As a digital investigator for your local sheriff’s department, you have been asked to go with a detective to a local school that
marishachu [46]

Answer:

Laptop,Forensics boot disk,Digital camera, flash,disk drive like IDE.,Dual write protect external drive box,Cables like FireWire and USB cables,Cable tags,Indelible markers,labels etc

Explanation: Preservation of digital or computer evidence is one of the key factors to consider in a criminal investigation. Evidence is a major factor in the criminal justice system in most countries of the world.

Laptops,Camera,Flash, Indelible markers, forensic boot disc,disk drive etc are some of the items required to ensure the preservation of digital evidence.

Laptop will help to view and evaluate the emails received and retrieve data,camera will help to take pictures of the crime scene,flash will help to retrieve data from both the computer and the camera etc

6 0
3 years ago
How to write a program that prompts the user to input two POSITIVE numbers — a dividend (numerator) and a divisor (denominator).
fomenos

Answer:

num1 = int(input("Numerator: "))

num2 = int(input("Denominator: "))

if num1 < 1 or num2<1:

     print("Input must be greater than 1")

else:

     print("Quotient: "+str(num1//num2))

     print("Remainder: "+str(num1%num2))

Explanation

The next two lines prompts the user for two numbers

<em>num1 = int(input("Numerator: "))</em>

<em>num2 = int(input("Denominator: "))</em>

The following if statement checks if one or both of the inputs is not positive

<em>if num1 < 1 or num2<1:</em>

<em>      print("Input must be greater than 1")-> If yes, the print statement is executed</em>

If otherwise, the quotient and remainder is printed

<em>else:</em>

<em>      print("Quotient: "+str(num1//num2))</em>

<em>      print("Remainder: "+str(num1%num2))</em>

<em />

3 0
4 years ago
Implement the function maxLoc(), which returns an iterator at the largest element in a list. template typename list::iterator ma
Readme [11.4K]

Answer:

See explaination

Explanation:

#include <iostream>

#include <iterator>

#include <list>

using namespace std;

list <int> :: iterator maxLoc(list<int>& alist){

list<int> :: iterator max;

list<int> :: iterator it;

int maxs = -199999999;

for (it = alist.begin(); it != alist.end();it++){

int c = *it;

if(maxs < c){

max = it;

maxs = *it;

}

}

alist.erase(max);

return max;

}

list <char> :: iterator maxLoc(list<char>& alist){

list<char> :: iterator max;

list<char> :: iterator it;

int maxs = -199999999;

for (it = alist.begin(); it != alist.end();it++){

char c = *it;

if(maxs < c){

max = it;

maxs = *it;

}

}

alist.erase(max);

return max;

}

int main() {

int intArr[] = {23, 49, -3, 29, 17, 200, 38, 93, 40};

int intSize = sizeof(intArr) / sizeof(int);

list <int> intlist(intArr, intArr + intSize);

list<int> :: iterator it;

for(int i = 0;i<intSize;i++){

list<int> :: iterator m = maxLoc(intlist);

cout << *m << endl;

}

char chrArr[] = "Hello World!";

int chrSize = sizeof(chrArr);

list<char> chrlist(chrArr, chrArr + chrSize);

for(int j = 0;j<chrSize;j++){

list<char> :: iterator m = maxLoc(chrlist);

cout << *m << endl;

}

}

5 0
3 years ago
if we try to use tail-recursive rules to implement non-tail-recursive rules, it will normally result in rules that are
Agata [3.3K]

It will normally result in rules that are more complex and more difficult to understand option (C) is correct.

<h3>What is tail recursion?</h3>

The recursive function is essentially used as the function's final statement in the tail recursion.

If we try to use tail-recursive rules to implement non-tail-recursive rules, it will normally result in rules that are

A. simpler and easier to understand.

B. circular rules.

C. more complex and more difficult to understand.

D. more time-consuming in execution.

The recursive function is essentially used as the function's final statement in the tail recursion. Therefore, tail recursion is what happens when nothing remains to be done after returning from the recursive function.

Thus, if we try to use tail-recursive rules to implement non-tail-recursive rules, it will normally result in rules that are more complex and more difficult to understand option (C) is correct.

Learn more about the tail recursion here

brainly.com/question/20749341

#SPJ4

4 0
1 year ago
What setting in Word keeps single lines of a new
Gre4nikov [31]

Answer:

C (Window/Orphan control)

Explanation:

An "orphan" in formatting is a single line of text that is left alone/separated from the rest of the paragraph. Orphan control prevents this from happening by keeping lines together.

3 0
4 years ago
Other questions:
  • Should software companies be able to send automatic updates to your computer withoput your knowledge
    14·1 answer
  • Grooves and polished surfaces on desert pebbles are most likely caused by
    10·1 answer
  • The part of a rocket engine that allows the combustion gases and flames to leave the rocket engine is the
    14·1 answer
  • Where is the quick access toolbar located?
    7·1 answer
  • A logistics company's vulnerability scan identifies the following vulnerabilities on Internet-facing devices in
    8·1 answer
  • Suppose that L is a sorted list of 1,000,000 elements. To determine whether the x item is in L, the average number of comparison
    14·1 answer
  • There are main type of memory
    7·1 answer
  • Select the best answer from the drop-down menu. Sometimes people feel threatened by new ideas and different ways of doing things
    5·1 answer
  • What is one example of the use of an infrared sensor?
    13·2 answers
  • In cell K10, create a formula using the SUM function that calculated the total of the range F17:F20 subtracts it from the value
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!