Looking at the code below, what is the height of your GUI window?

setSize(500,400);


100

500

400

900

Answers

Answer 1

Answer:

Doey

So you gotta doey, it should be 900, the doey is sometimes wrong so be patient


Related Questions

Can someone add on to the summary and analysis of this group project? we don't know what else to add

Answers

Expanding on a group project's summary and analysis starts with reviewing existing entries to identify any gaps that require fleshing out.

What is the next step?

Conduct further research or gather additional data if necessary, to support your analysis. Ensure thorough coverage of key project points when complementing the summary.

When filling in details for analysis, provide insightful observations based solely on available facts and figures. Finally, openly communicate about contribution areas within the team and include other members' feedback effectively.

Read more about group project here:

https://brainly.com/question/26053073

#SPJ1

I need help with this coding homework! I cant get right the Two Test Case's shown in the picture.

Instructions
Redo Programming Exercise 16 of Chapter 4 so that all the named constants are defined in a namespace royaltyRates.

Instructions for Programming Exercise 16 of Chapter 4 have been posted below for your convenience.

Exercise 16
A new author is in the process of negotiating a contract for a new romance novel. The publisher is offering three options. In the first option, the author is paid $5,000 upon delivery of the final manuscript and $20,000 when the novel is published. In the second option, the author is paid 12.5% of the net price of the novel for each copy of the novel sold. In the third option, the author is paid 10% of the net price for the first 4,000 copies sold, and 14% of the net price for the copies sold over 4,000. The author has some idea about the number of copies that will be sold and would like to have an estimate of the royalties generated under each option. Write a program that prompts the author to enter the net price of each copy of the novel and the estimated number of copies that will be sold. The program then outputs the royalties under each option and the best option the author could choose. (Use appropriate named constants to store the special values such as royalty rates and fixed royalties.)

THE FULL CODE:
#include
#include

using namespace std;

namespace royaltyRates {
const double FIXED_ROYALTY_1 = 5000.00;
const double FIXED_ROYALTY_2 = 20000.00;
const double ROYALTY_RATE_2 = 0.125;
const double ROYALTY_RATE_3_LOW = 0.1;
const double ROYALTY_RATE_3_HIGH = 0.14;
const int COPIES_THRESHOLD = 4000;
}

using namespace royaltyRates;

int main() {
double netPrice;
int estimatedCopies;

cout << "Enter price of each copy: ";
cin >> netPrice;

cout << "Estimated number of copies sold: ";
cin >> estimatedCopies;

double royalty1 = FIXED_ROYALTY_1 + FIXED_ROYALTY_2;
double royalty2 = ROYALTY_RATE_2 * netPrice * estimatedCopies;
double royalty3 = 0;

if (estimatedCopies > COPIES_THRESHOLD) {
royalty3 = (COPIES_THRESHOLD * netPrice * ROYALTY_RATE_3_LOW)
+ ((estimatedCopies - COPIES_THRESHOLD) * netPrice * ROYALTY_RATE_3_HIGH);
} else {
royalty3 = estimatedCopies * netPrice * ROYALTY_RATE_3_LOW;
}

cout << fixed << setprecision(2);
cout << "Royalties under option 1: $" << royalty1 << endl;
cout << "Royalties under option 2: $" << royalty2 << endl;
cout << "Royalties under option 3: $" << royalty3 << endl;

if (royalty1 >= royalty2 && royalty1 >= royalty3) {
cout << "Option 1 is the best option you can choose for maximum royalties.";
} else if (royalty2 >= royalty1 && royalty2 >= royalty3) {
cout << "Option 2 is the best option you can choose for maximum royalties.";
} else {
cout << "Option 3 is the best option you can choose for maximum royalties.";
}
return 0;
}

Answers

This Python script assists the author in comparing three options and determining which one to select.

The Script and Explanation

First, it requires the input of the net price for each copy and an estimated amount of copies sold. Subsequently, royalties are computed under each option and displayed. Finally, the script determines the optimal choice and displays it.

Option 1 involves fixed royalties valued at $20,000 plus $5,000. Option 2 provides royalties based on a percentage of the net price multiplied by estimated copies sold, while Option 3 uses tiered percentages applied to the net price until the maximum number of sales is reached (4,000), after which a different percentage applies.

The resulting royalty payouts are denoted individually for each option and presented as output formatted with two decimal places. The best alternative among them is calculated via conditional statements that establish whether Royale Options #1, #2, or #3 offers the highest payout. Then, the corresponding option tag is returned as output.

Read more about programs here:

https://brainly.com/question/23275071

#SPJ1

Create a UML diagram for the card game Go Fish.

Answers

A UML diagram for the card game Go Fish is given below:

The UML Diagram

-------------------------

|        Player         |

-------------------------

| -hand: List<Card>     |

| -score: int           |

| +getPlayerName(): String|

| +getHand(): List<Card>|

| +getScore(): int      |

| +addCardToHand(card: Card): void|

| +removeCardFromHand(card: Card): void|

| +addToScore(points: int): void|

| +hasCard(rank: Rank): boolean|

| +getMatchingCards(rank: Rank): List<Card>|

| +askForCard(player: Player, rank: Rank): List<Card>|

| +goFish(deck: Deck): Card|

-------------------------

        |                  ^

        |                  |

        |------------------|

        |                  |

-------------------------  |

|         Card          |  |

-------------------------  |

| -rank: Rank           |  |

| -suit: Suit           |  |

| +getRank(): Rank      |  |

| +getSuit(): Suit      |  |

| +toString(): String   |  |

| +equals(other: Object): boolean|

| +hashCode(): int      |  |

-------------------------  |

        |                  ^

        |                  |

        |------------------|

        |                  |

-------------------------  |

|         Rank          |  |

-------------------------  |

| ACE                   |  |

| TWO                   |  |

| THREE                 |  |

| FOUR                  |  |

| FIVE                  |  |

| SIX                   |  |

| SEVEN                 |  |

| EIGHT                 |  |

| NINE                  |  |

| TEN                   |  |

| JACK                  |  |

| QUEEN                 |  |

| KING                  |  |

-------------------------  |

        |                  ^

        |                  |

        |------------------|

        |                  |

-------------------------  |

|         Suit          |  |

-------------------------  |

| CLUBS                 |  |

| DIAMONDS              |  |

| HEARTS                |  |

| SPADES               |  |

-------------------------  |

        |                  ^

        |                  |

        |------------------|

        |                  |

-------------------------  |

|         Deck          |  |

-------------------------  |

Read more about UML diagram here:

https://brainly.com/question/13838828

#SPJ1

Compare and contrast the code of ethics of two professional organizations or regulatory bodies in computer science field. Analyze the similarities and differences between the codes, and discuss their implications for professional practice. Critically evaluate the strengths and weaknesses of each code and propose recommendations for improving ethical standards in the profession.

Answers

Ethical standards upheld in the computer science field are set forth by reputable professional organizations like ACM and AAAI.

How is this so?

Both these organizations advocate for values promoting honesty, integrity, privacy protection and respect towards every individual's dignity.

While focus on educational growth is central to the ACM code of ethics, more significant emphasis seems laid down by AAAI for researchers in artificial intelligence fields to consider broader society concerns related to potential impact with AI research practices.

The codes derive their strength from placing significant stress on ethical behavior and acknowledging the influence of technology on society.

Learn more about Ethical Standards;
https://brainly.com/question/28295890
#SPJ1

List the rules involved in declaring variables in python . Explain with examples

Answers

In Python, variables are used to store values. To declare a variable in Python, you need to follow a few rules:

1. The variable name should start with a letter or underscore.

2. The variable name should not start with a number.

3. The variable name can only contain letters, numbers, and underscores.

4. Variable names are case sensitive.

5. Avoid using Python keywords as variable names.

Here are some examples of variable declaration in Python:

1. Declaring a variable with a string value

message = "Hello, world!"

2. Declaring a variable with an integer value

age = 30

3. Declaring a variable with a float value

temperature = 98.6

4. Declaring a variable with a boolean value

is_sunny = True

how to Use the Security Evaluator to determine whether there are any IoT devices on your network in pfsense

Answers

Here Is the Answer:

To use the Security Evaluator in pfsense to determine the presence of IoT devices on your network, follow these steps:

1. Log in to your pfsense router and navigate to the Security Evaluator option under the Diagnostics menu.

2. Launch the Security Evaluator and select the IoT Devices scan option.

3. The tool will search for any IoT devices on your network and provide a list of results.

4. Review the list of devices and take appropriate action to secure any vulnerable or unknown devices.

5. Repeat the scan periodically to ensure there are no new IoT devices added to your network and maintain security.

Answer: Radio Frequency Identification (RFID), Bluetooth, Barcode/2D code, Near Field Communication (NFC), Electronic product codes (EPC), IP address.

Explanation: Hope This Helps!

Other Questions
Juanita notices that people in her group get their lunch from the cafeteria rather than bring their own lunch. When Juanita brings her own lunch, her coworkers notice it but don't seem too concerned about it. In this case, getting lunch at the cafeteria is a _____ norm. PLEASE HELP IT'S DUE IN 4 MIN WILL GIVE BRAINLIST IF CORRECT The table shows the number of goals made by two hockey players.Player A Player B2, 1, 3, 8, 2, 1, 4, 3, 1 2, 3, 1, 3, 2, 2, 1, 3, 6Find the best measure of variability for the data and determine which player was more consistent. Player A is the most consistent, with an IQR of 2.5. Player B is the most consistent, with an IQR of 1.5. Player A is the most consistent, with a range of 7. Player B is the most consistent, with a range of 5. An electron is accelerated from rest by a potential difference of 412 V. It then enters a uniform magnetic field of magnitude 208 mT with its velocity perpendicular to the field. Calculate (a) the speed of the electron and (b) the radius of its path in the magnetic field. ualitative risk analysis is the process of _____ risks for further analysis or action. Group of answer choices In workforce development efforts, competency frameworks are used for: Group of answer choices All of these are correct. assessing needs. credentialing. education and training courses. According to Mendel's law of segregation, ________. Group of answer choices gametes are diploid gametes have one allele copy for each gene two alleles segregate into each gamete more gametes carrying the dominant allele are produced than gametes carrying the recessive allele An art student wants to enlarge a triangle with the sides 8, 8, and 14 cm. The new triangle will have a measurement of 21 cm on its longest side. How long will the other sides be on the new triangle Question Content Area Sifton Electronics Corporation manufactures and assembles electronic motor drives for video cameras. The company assembles the motor drives for several accounts. The process consists of a lean cell for each customer. The following information relates only to one customer's lean cell for the coming year. Projected labor and overhead, $3,878,400; materials costs, $32 per unit. Planned production included 6,144 hours to produce 19,200 motor drives. Actual production for August was 1,910 units, and motor drives shipped amounted to 1,370 units. From the foregoing information, determine the manufacturing cost per unit. a.$234.00 b.$170.00 c.$202.00 d.$663.25 vanessa alleviated some of the stress associated with the death of her husband by becoming more actively enaged in her work. Her response best illustrates T/F The light detectors generate current, which travels to an amplifier. It converts the current to voltages which are proportional to the intensity of light striking them In the book the kite runner, chapter 6-7 1, what are the rules of kite fighting ? How is this different than your own concept of flying kites? Why does Amir want to win the competition ? Why do Hazara feel a kindship with Iran ? What is Amirs attitude toward Hassan in this short chapter. Pls helpHelpVery important due tomorrow civics 7th grade In Economics in One Lesson, Hazlitt talks about what would happen if a tariff that had brought an industry into existence was repealed. What does Hazlitt say the results would be Which theory proposes that experiencing unpleasant states, such as being hungry or thirsty, leads us to take action to minimize those negative conditions You place a metal bar magnet on a swivel and bring a negatively charged plastic rod near the north pole and then near the south pole. What do you observe What conditions must be met to use z procedures in a significance test about a population proportion Jason is perceived to be a valuable member of his office team. During meetings, he keeps the group members focused on the purpose of the assignment that they are trying to complete rather than allowing them to become sidetracked by irrelevant details. Jason would be described as a Define the term pseudonymity and explain its practice among Hellenistic-Jewish and early Christian writers. Which books of the New Testament do many scholars think are pseudonymous f a typical pump at the gas station pumps gasoline at a rate of 49 liters per minute, how many seconds will it take to pump 11 gallons of gas A company receives $304, of which $28 is for sales tax. The journal entry to record the sale would include a