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
ohaa [14]
3 years ago
5

Please help me and solution in c language​

Computers and Technology
1 answer:
salantis [7]3 years ago
3 0
Ummmm the solution is ummm brb
You might be interested in
Write the ColorfulBouncingCircle class, where you should write the constructor, setPlayingFieldSize, and tick methods, and overr
Keith_Richards [23]

Answer: Circle class representing circle objects which have a radius, center x, and center y. It included overlaps and draw methods. Then, we wrote a Colorfulcircle class which included a Color property and overrode the draw method of Circle. For this assignment, you are asked to create a ColorfulBouncing circle class. Begin with the versions of Circle and ColorfulCircle uploaded to Canvas ColorfulBouncingCircle should extend ColorfulCircle, Unlike the other Circle classes, it will include a velocity for the x and y axes. The constructor for ColorfulBouncingCircle includes these parameters: public colorfulBouncingcircle (double radius, double centerx, double center Color color, double xVelocity, double yvelocity) Note that we are treating x as increasing to the right and y as increasing down, as with Java's graphics coordinates system. This was also seen with Circle's draw method. ColorfulBouncingCircles will bounce around in a playing field which the tester will provide. The Colorful Bouncinesicle class should have a public static method to set the playing field width and height: public static void setPlayingFieldsize (double newwidth, double newHeight) ColorfulBouncingCircle will also include a method which should alter its center and center with each time tick (similar to a metronome's noise guiding a musician to play a song). The circle's x position should be altered according to x velocity and y position according to y velocity. However, before changing the positions, check if the center position would, after moving, be either less than 0 or greater than the playing field dimensions. If so, instead of changing the center position, alter the velocity. If the ball hits the top or bottom, the sign of its vertical velocity should be flipped: if it hits the left or right, its horizontal velocity sign should be flipped. If it hits a corner, both should be. Notice that velocity may be positive or negativel The tick method which will be called by the tester is defined in this way:

public void tick() Finally, we should override the overlaps method to make balls bounce away from each other. You should call the super method to see if your circle overlaps another circle. If so, alter this circle's velocity according to its center relative to the other circle. If this circle" is above or below the "other circle," flip the sign of "this circle's" vertical velocity. If it's to the left or right, flip the horizontal velocity As before, both may be flipped. This is NOT the same as a true elastic collision, but it should be simpler for you to implement. The sign flipping will sometimes cause the balls to "vibrate" when caught between each other. Please review the velocity changing rules carefully; they are easy to get wrong!! To review: Write the ColorfulBouncineCircle class, where you should write the constructor setPlayingfield Size, and tick methods, and override the overlaps method, each according to the above descriptions. You should not have to write any code which draws; instead, a test program will be provided which will animate ColorfulBouncingCircles based on your implementation. For every time tick, the test program will compare every circle against every other circle using the overlaps method. The test program will ask you to press Enter in the console to launch the automated tests which will assign a tentative score based on your implementation. DO NOT ALTER the Circle OR Colorful Circle files!!

Explanation:

4 0
4 years ago
If engine oil gets into the brake fluid, which of the following will happen?
Pani-rosa [81]
This happened to me on my car and the rubber seals swell 
8 0
3 years ago
Read 2 more answers
Describe a cellular network, its principal components, and how it works.
AnnZ [28]

Answer:

The final basic component of a cellular system is the Gateway. The gateway is the communication links between two wireless systems or between wireless and wired systems. There are two logical components inside the Gateway: mobile switching center (MSC) and interworking function (IWF).

Explanation:

6 0
3 years ago
Which one is the fastest? (Points : 4) TTL
Alina [70]

Answer: ECL

Explanation:

  ECL is basically stand for the emitter coupled logic and it is the high speed integrated logic circuit. In this ECL logic circuit, the transistor does not enter in the saturation mode.

In the emitter coupled logic, the output resistance are low and the input emitter impedance are high so, the state of the transistor are get changes quickly. Hence, it is fastest device as compared to all other options.

Therefore, ECL is the correct option.

4 0
4 years ago
In a wide area network (WAN), how would you troubleshoot an issue with the domain name system (DNS)?
NISA [10]
<span>C. Get the help of someone with specialized knowledge in the area.</span>
3 0
4 years ago
Read 2 more answers
Other questions:
  • The section called Breaking Substitution Ciphers (p. 166) describes a "random substitution cipher," in which each letter of the
    11·1 answer
  • Hazel has just finished adding pictures to her holiday newsletter. She decides to crop an image. What is cropping an image?
    5·1 answer
  • Given 3 floating-point numbers. Use a string formatting expression with conversion specifiers to output their average and their
    6·1 answer
  • _is a computer network created for an individual person
    10·1 answer
  • Case-Based Critical Thinking Questions​Case 1: Tony’s Pizza &amp; Pasta​Tony’s Pizza &amp; Pasta restaurant uses an application
    9·1 answer
  • What are three subject areas that are key to successfully working in the field of robotics
    9·1 answer
  • Using the same formatting elements and designs across slides in a presentation is important to develop what vital quality?
    14·2 answers
  • 11. You are considered accepting a job offer at a company on the other side of the country, but are worried about the movies cos
    13·1 answer
  • Answer this crossword for brainliest and 15 points
    9·1 answer
  • 0111101101010110101110110001001011101001011101101010101010110101
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!