the current code can output one circle please complete the code to have multiple circle or draw multiple circle (you don't have to use this code all i want is a multiple circle) do not use graphics please show the output :
Q: What are the key differences between the three most common types of user testing?
A: Tests are phases in the testing process that assess whether or not the user has fulfilled the…
Q: Are there any potential risks associated with the use of cloud computing for financial institutions?
A: Cloud Computers combines computing and Internet-based development (cloud). The cloud in computer…
Q: Examine the induction rules of the maternity ward objectively and discuss the good and bad points…
A: The goal is to look at the reasons for inducing labour and how the current policy for inducing…
Q: knowledge do you have of the Python programming
A: Programming language: A programming language is a collection of rules for converting texts, or…
Q: explain the relationship between coupling and cohesiveness in the context of creating software?
A: Coupling: Coupling is a measure of how closely related two pieces of code are. Coupling is often…
Q: Having a clear concept is essential for unit testing. How many different aspects of unit testing are…
A: Because the code is up to par, this indicates that the majority of the criteria were met. Testing at…
Q: Find out whether the Waterfall method and the Rational Unified approach are similar to one another…
A: There are number of various software development approaches utilised in the software business…
Q: What is it that the fundamental ideas behind software engineering don't take into account? Explain?
A: To start, let's examine what software engineering is. It's referred to as software or engineering.…
Q: Apply quick sort on array [5, 4, 3, 1, 6, 7, 11, 9, 2, 10, 8]. Assuming the pivot value selected on…
A: In step 2, I have provided ANSWER with BRIEF explanation--------------------
Q: Customer ID Customer bsmith1 Bob Smith bsmith1 Bob Smith bsmith1 Bob Smith jthomas1 Jill Thomas…
A: Here are the problems in existing table / relation: - Address and email are combined into a single…
Q: For optimal performance, the hardware of a computer requires a predetermined amount of Random Access…
A: Given: We have to discuss For optimal performance, the hardware of a computer requires a…
Q: What is the Big O function for the following growth rate function? F(n) = 1000*n10 + 10*2n…
A: Solution: Given, What is the Big O function for the following growth rate function? F(n) =…
Q: In the context of the design and development of software, what kind of relationship does it have…
A: Cohesion addresses the connections:CouplingIn software design, coupling refers to the "degree of…
Q: Provide a rundown of the four primary functions that an operating system serves.
A: Operating System: Operating system is a user-computer communication channel. An operating system…
Q: In your opinion, which kind of data protection protocols rank the highest in importance? What kind…
A: Data security : Data security is the discipline of preventing unwanted access to and modification of…
Q: Please provide a list of five potential costs or risks associated with storing information in a…
A: The implementation of the database strategy incurs the following extra costs and hazards, which must…
Q: k-means
A: Dear Student, The answer to your question is given below -
Q: What does it mean for disc drives to have a superparamagnetic limit, and how does it impact the…
A: Small ferromagnetic or ferrimagnetic nanoparticles can display superparamagnetism, a kind of…
Q: Please provide a list of five potential costs or risks associated with storing information in a…
A: The database architecture introduces various extra expenses and hazards during implementation that…
Q: miliar with the three distinct kinds of computing platforms that can be fou
A: Introduction: Cloud computing enables developers and IT departments to focus on what matters most…
Q: If you could select only three test case design methods to apply during unit testing, what would…
A: If one has to select the three test case design methods for applying the unit testing then it would…
Q: Discuss the advice that you would offer to multi-national corporations that are interested in…
A: The answer is given in the below step
Q: When purchasing hardware, the three factors listed below are considered.
A: The three most important factors to consider when purchasing computer hardware and software are:…
Q: Comp(3, 4), given the recursive function Comp defined below: int Comp(int a,
A: Dear Student, The answer to your question is given below -
Q: Visual data is shown in VGA mode on a display device. Exactly what evidence do you have for this…
A: The solution is given in the next step
Q: The super class of all classes in c# is
A: Solution the super class of all classes in c# is object class (the root of all classes)The Object…
Q: Why is it that the Internet is often depicted as a cloud? Why isn't data transfer between hosts the…
A: Internet, but with one small difference: it means using a software service. You can work on it using…
Q: How can we make the most efficient use of the CPU's time while it is juggling a large number of…
A: Basics: Computer processing occurs when a PC's CPU gets data. The CPU is the computer's "mind" and…
Q: Using the provided secret_num.csh finish the script by accepting an integer as input and evaluating…
A: Given: #!/bin/tcsh #Your Name #secret_num.sh set secret=`shuf -i1-100 -n1` echo "Guess my secret…
Q: This lab is about Secure Socket Layer (SSL). For each of the first 8 Ethernet frames, specify the…
A: Secure sockets layer (SSL) which refers to the one it is a networking protocol designed for securing…
Q: How are the concepts of software cohesion and coupling related to one another?
A: Product component relationships are illustrated by means of cohesion and coupling. Cohesion is a…
Q: Which kind of bus between the central processing unit and the RAM should we use? How do you arrive…
A: Introduction: The data channel between the CPU and expansion slots on the motherboard of the…
Q: 13, 15, 16, 16, 19, 20, 20, 21, 22, 22, 25, 25, 25, 25, 30, 33, 33, 35, 35, 35, 35, 36, 40, 45, 46,…
A: Disclaimer: “Since you have posted multiple questions with multiple sub-parts, we will provide the…
Q: The use of cloud computing in financial systems presents its own unique set of challenges, just as…
A: Cloud Computing's Drawbacks There are advantages to using cloud computing, but it is apparent that…
Q: Which kind of bus between the CPU and memory should we use? Outline the steps you took to arrive at…
A: Should we connect the CPU and memory with an asynchronous or synchronous bus Explain your…
Q: Starting out with C++ Chapter 12 Programming Challenge 19 Write a function vertor split(string str)…
A: Step-1: StartStep-2: Declare variable str and take input from userStep-3: Declare an vector of…
Q: Identify the four essential components of any computer
A: Introduction: The four parts that make up every computer are described in this question.
Q: What is the function of the block structure that is present in both the main memory and the cache…
A: Instead of, memory access time is an expensive resource. delivering one instruction to the cache, we…
Q: Are you familiar with the three distinct kinds of computing platforms that can be found in the…
A: Cloud computing which refers to the one it is the on-demand availability of computer system…
Q: What level of confidence should you anticipate with regard to the safety of your data? What is the…
A: Introduction: Data is information that has been transformed(converted) into a format that is useful…
Q: Why is it important for a systems analyst to have the ability to translate between languages? Which…
A: Introduction: Microsoft'sGroup Policy Object (GPO) is a collection of Group Policy settings. That…
Q: What are the key differences between software cohesion and coupling?
A: The response is provided below. Cohesion: The idea of an internal module is called cohesion. Within…
Q: What aspects of a problem do not get addressed by the guiding principles of software engineering?…
A: Failure To Understand The Company's Needs: A software project's failure might be attributed to a…
Q: be
A: Dear Student, The answer to your question is given below -
Q: What should we do if we don't have a paper outlining the requirements?
A: Introduction: It is critical to do a textual analysis of needs to identify improper requirements…
Q: Have your experiences been positive with the RIA program? In order to verify your results, please…
A: For the reasons given below, I believe the RIA project to be doomed to failure. When individuals can…
Q: A comparison and contrast of the Rational Unified Model and the Classical Waterfall Model is going…
A: SDLC process: Cascade programming includes substantial planning ahead of time, as well as…
Q: In your opinion, how critical is the quality of the data to the success of data warehousing? What…
A: Data mine: It's called data spying, hacking, and data fishing. It's bad data analysis. This…
Q: Algorithm for Modified Soluble Schreier Method procedure derived_normal_closure( G : group; vat N :…
A: given data: procedure derived_normal_closure( G : group; vat N : group; y : element of G ); (*…
Q: What loopholes in computer security are likely to be exploited in the case that a computer is…
A: Introduction: Any reduction in the availability or integrity of data is referred to as data damage.…
Max Function
Statistical function is of many categories. One of them is a MAX function. The MAX function returns the largest value from the list of arguments passed to it. MAX function always ignores the empty cells when performing the calculation.
Power Function
A power function is a type of single-term function. Its definition states that it is a variable containing a base value raised to a constant value acting as an exponent. This variable may also have a coefficient. For instance, the area of a circle can be given as:
the current code can output one circle please complete the code to have multiple circle or draw multiple circle (you don't have to use this code all i want is a multiple circle) do not use graphics please show the output :
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
cout<<"Olympic Rings";
// coordinates
int x,y;
int P;
cout <<"Please enter parameter"<<endl;
cin >>P;
//radius
int r= P/2;
int distance=0;
for(int i=0;i<=P;i++)
{
for (int j=0;j<=P;j++){
x= i-r;
y= j-r;
distance = sqrt((x*x) + (y*y));
if(distance> (r- 0.5)&& distance < (r+0.5))
cout << "*";
else
cout <<" ";
}
cout<<endl;
}
return 0;
}
Step by step
Solved in 3 steps
- int x1 = 66; int y1 = 39; int d; _asm { } mov EAX, X1; mov EBX, y1; push EAX; push EBX; pop ECX mov d, ECX; What is d in decimal format?Treasure Hunter description You are in front of a cave that has treasures. The cave canrepresented in a grid which has rows numbered from 1to , and of the columns numbered from 1 to . For this problem, define (?, )is the tile that is in the -th row and -column.There is a character in each tile, which indicates the type of that tile.Tiles can be floors, walls, or treasures that are sequentially representedwith the characters '.' (period), '#' (hashmark), and '*' (asterisk). You can passfloor and treasure tiles, but can't get past wall tiles.Initially, you are in a tile (??, ). You want to visit all the treasure squares, andtake the treasure. If you visit the treasure chest, then treasurewill be instantly taken, then the tile turns into a floor.In a move, if you are in a tile (?, ), then you can move tosquares immediately above (? 1, ), right (?, + 1), bottom (? + 1, ), and left (?, 1) of thecurrent plot. The tile you visit must not be off the grid, and must not be awall patch.Determine…#include<stdio.h>#include<stdlib.h> int cent50=0;int cent20=0;int cent10=0;int cent05=0; void calculatechange(int* change){if(*change>0){if(*change>=50){*change-=50;cent50++;}else if(*change>=20){*change-=20;cent20++;}else if(*change>=10){*change-=10;cent10++;}else if(*change>=05){*change-=05;cent05++;}calculatechange(change);}}void printchange(){if(cent50)printf("\n50cents:%d coins",cent50);if(cent20)printf("\n20cents:%d coins",cent20);if(cent10)printf("\n10cents:%d coins",cent10);if(cent05)printf("\n05cents:%d coins",cent05);cent50=0;cent20=0;cent10=0;cent05=0;}void takechange(int* change){scanf("%d",change);getchar();}int main(){int change=0;int firstinput=0;while(1){if(!firstinput){printf("\nEnter the amount:");firstinput++;}else{printf("\n\nEnter the amount to continue or Enter -1 to…
- #include<stdio.h>#include<stdlib.h> int cent50=0;int cent20=0;int cent10=0;int cent05=0; void calculatechange(int* change){if(*change>0){if(*change>=50){*change-=50;cent50++;}else if(*change>=20){*change-=20;cent20++;}else if(*change>=10){*change-=10;cent10++;}else if(*change>=05){*change-=05;cent05++;}calculatechange(change);}}void printchange(){if(cent50)printf("\n50cents:%d coins",cent50);if(cent20)printf("\n20cents:%d coins",cent20);if(cent10)printf("\n10cents:%d coins",cent10);if(cent05)printf("\n05cents:%d coins",cent05);cent50=0;cent20=0;cent10=0;cent05=0;}void takechange(int* change){scanf("%d",change);getchar();}int main(){int change=0;int firstinput=0;while(1){if(!firstinput){printf("\nEnter the amount:");firstinput++;}else{printf("\n\nEnter the amount to continue or Enter -1 to…C++ programming Chapter(s) Covered: Chapter 1-8 Concepts tested by the program: Working with one dimensional parallel arrays Use of functions Use of loops and conditional statements Project Description The Lo Shu Magic Square is a grid with 3 rows and 3 columnsshown below. The Lo Shu Magic Square has the following properties: The grid contains the numbers 1 – 9 exactly. Each number 1 – 9must not be used more than once. So, if you were to add up thenumbers used, The sum of each row, each column and each diagonal all add upto the same number, Write a program that simulates a magic square using 3 onedimensional parallel arrays of integer type. Each one the arrays corresponds to a row of the magicsquare. The program asks the user to enter the values of the magicsquare row by row and informs the user if the grid is a magicsquare or not. See the sample outputs for more clarification. Project Specifications Input for this project: Values of the grid (row by row) Output for this…#include<stdio.h>#include<stdlib.h> int cent50=0;int cent20=0;int cent10=0;int cent05=0; void calculatechange(int* change){if(*change>0){if(*change>=50){*change-=50;cent50++;}else if(*change>=20){*change-=20;cent20++;}else if(*change>=10){*change-=10;cent10++;}else if(*change>=05){*change-=05;cent05++;}calculatechange(change);}}void printchange(){if(cent50)printf("\n50cents:%d coins",cent50);if(cent20)printf("\n20cents:%d coins",cent20);if(cent10)printf("\n10cents:%d coins",cent10);if(cent05)printf("\n05cents:%d coins",cent05);cent50=0;cent20=0;cent10=0;cent05=0;}void takechange(int* change){scanf("%d",change);getchar();}int main(){int change=0;int firstinput=0;while(1){if(!firstinput){printf("\nEnter the amount:");firstinput++;}else{printf("\n\nEnter the amount to continue or Enter -1 to…
- #include<stdio.h>#include<stdlib.h> int cent50=0;int cent20=0;int cent10=0;int cent05=0; void calculatechange(int* change){if(*change>0){if(*change>=50){*change-=50;cent50++;}else if(*change>=20){*change-=20;cent20++;}else if(*change>=10){*change-=10;cent10++;}else if(*change>=05){*change-=05;cent05++;}calculatechange(change);}}void printchange(){if(cent50)printf("\n50cents:%d coins",cent50);if(cent20)printf("\n20cents:%d coins",cent20);if(cent10)printf("\n10cents:%d coins",cent10);if(cent05)printf("\n05cents:%d coins",cent05);cent50=0;cent20=0;cent10=0;cent05=0;}void takechange(int* change){scanf("%d",change);getchar();}int main(){int change=0;int firstinput=0;while(1){if(!firstinput){printf("\nEnter the amount:");firstinput++;}else{printf("\n\nEnter the amount to continue or Enter -1 to…Language: Processing //Constants controlling the game.//The number of sides should not be changed since the//graphics only handles from 1-6 dots.//In this version, the number of dice could be varied.final int NUM_SIDES=6; //Sides on the dicefinal int NUM_DICE=5; //The number of dice used //-------- Lab 10 Bronze ------------------------------------- //*****INSERT YOUR LAB 10 BRONZE CODE HERE***** bronze code attached as photo due to word count //***** ALSO CHANGE mouseClicked() IN THE PLACE INDICATED *****//***** TO MATCH THE NAME OF YOUR DICE ARRAY VARIABLE ***** //-------- Lab 11 Bronze ------------------------------------- int[] freqCount(int[] roll){//Count the frequencies of each number (1..NUM_SIDES) in//the given dice roll, returning the result as a array of//NUM_SIDES integers. Note that freqs[0..5] are the frequencies//of 1..6. The dice show 1-6 but subscripts must go 0-5. }//freqCount int maxOfAKind(int[] freqs){//Find and return the largest integer in an array of integers.…#include using namespace std; int main() int x=1,y=2; for (int i=0; i<3; i++) e{ x=x*y; 8{ } cout<Each of the following definitions and program segments has errors. Locate as many as you can and correct the errors. a) void showValues (int nums) { for (int i = 0; i<8; i++) cout<Determine all the output from the following program as it would appear on the screen. void func1(int); void func2(int = 4, int = 5, int = 2); int func3(int &, int, int); %3D int main() { int x = 0, z = 0, y = 2; func1(y); cout << y << endl; func2(x, y, z); func2(); func3(x, y, z); = Z func1(x); cout << x << " " << y << " " << z << endl; return 0; } void func1(int b) { static int a;Code uses C++ language If the user chooses to generate a Pentagono This is a combination of a triangular shape and a square shape -- a symmetrictriangle sits on top of a rectangle.o The triangular shape must be symmetric about the vertical axis. There must beexactly one character in the first line, and the number of characters increases by2 in every successive lineo The rectangle shape must have LENGTH lines of height and all lines are 13characters wide.o Make sure to add delay to view a progressively growing pentagon, otherwise youwill just see the final shape. Code for triangle: for (int i = 1; i <= length; i++) { sleep (1); for (int j = length - i; j > 0; j--) cout << " "; for (int b = 1; b <= i; b++) cout << char(rdm) << " "; cout << endl; } Code for square: for (int row = 1; row <=…SEE MORE QUESTIONSRecommended textbooks for youDatabase System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSONC How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag…Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill EducationDatabase System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSONC How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag…Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education