diagonal equivalent and finding center point Community Center by yurixzach Hello... How to compute the diagonal equivalent in a multiplication table? And how to find…="green"]25[/COLOR] What is the center point? Diagonal equivalent? ------------------- Using JAVA Programming Language: How can you find… center point is 9) How can you add the diagonal numbers?(ex. 1+4+9+16+25=?) ~~Thank you!~~ Diagonal Movement Programming Software Development by esy928 … the last few days I've been stuck doing the diagonal movement of the bullets. I wish someone could help me…) ). The vertical & horizontal movement is not difficult but the diagonal movement is driving me crazy :'( any help is greatly appreciated… Diagonal rules in CSS? Digital Media UI / UX Design by Tom Tolleson Hello, I'm familiar with the ability to create borders and boxes in CSS, but I have a client that has requested diagonal rule to cross through table cells. That is, no matter the dimensions of the table cell, it would contain an X of a specified color. Any advice on creating this? Thanks! Re: Diagonal rules in CSS? Digital Media UI / UX Design by autocrat … could use relative positioning and z-index. The problem is diagonal lines aren't really done with CSS. So you have… diagonal element sum Programming Software Development by adityasingh95 …)/2][(r-1)/2]; } cout<<"Sum of Diagonal Elements is:"<<ans; getch(); } Re: diagonal element sum Programming Software Development by phorce …)/2][(r-1)/2]; } cout<<"Sum of Diagonal Elements is:"<<ans; cin.get(); } Element of 2D Array diagonal not displaying Programming Software Development by vishalonne Hello Everybody I am successful in displaying Diagonal Array elements, but failed to display Non Diagonal array elements I tried a lot but…(int a[4][4],int size) { cout<<"Diagonal One:"; for (int i=0;i<size;i…8 7 4 5 Output is displaying some of the diagonal elements also. Need help Thank you in advance put biggest element to main diagonal Programming Software Development by glao … column with the column which belongs to the main diagonal ( if a condition is valid ). Finally , …compare to the element of the main diagonal // if it > main diagonal , then swap cols //I inserted a…same but leave aside the first element of main diagonal! // that's why the dimensions to be … Re: Element of 2D Array diagonal not displaying Programming Software Development by vishalonne @NathanOliver For displaying Diagonal elements of array I am using this code- #include<…(int a[4][4],int size) { cout<<"Diagonal One:"; for (int i=0;i<size;i…][j]<<" "; cout<<"\n Diagonal Two:"; for (i=0;i<size;i++) for… Greatest product along diagonal of a 20 by 20 grid Programming Software Development by king_koder …Python3 for finding the largest product of numbers along the diagonal(top-left to right-bottom). [CODE=python] def …'''Returns greatest product possible by multiplying 4 numbers in the diagonal ''' grtProduct=1 for item in data: for n in … the 'data' list. So the number along the diagonal would be the term 1 of the 1st list of… Re: put biggest element to main diagonal Programming Software Development by sfuo …*N + r. > As I can see it gives the diagonal elements. > I didn't know about that! The… diagonal elements occur when the row index is equal to the … Re: Greatest product along diagonal of a 20 by 20 grid Programming Software Development by slate …): '''Returns greatest product possible by multiplying 4 numbers in the diagonal ''' grtProduct=1 for d,item in enumerate(data): for e… exits without break print(",".join(out)) # prints the diagonal lines if product>grtProduct:grtProduct=product return grtProduct print… Re: put biggest element to main diagonal Programming Software Development by glao Great! Thanks a lot ! Just a question. Could you tell me how you thought this: `a[maxIndex] = a[r*N + r];` I mean the index `r*N + r`. As I can see it gives the diagonal elements. I didn't know about that! Re: Greatest product along diagonal of a 20 by 20 grid Programming Software Development by slate …): '''Returns greatest product possible by multiplying 4 numbers in the diagonal ''' grtProduct=1 for d,item in enumerate(data): for e… Re: Greatest product along diagonal of a 20 by 20 grid Programming Software Development by TrustyTony …): '''Returns greatest product possible by multiplying 4 numbers in the diagonal ''' grtProduct=1 for d,item in enumerate(data): for e… ..help! i have a gold shield w/ black diagonal lines ..on my toolbar Hardware and Software Microsoft Windows by greeneyyedgurl … my toolbar it is showing a gold shield with black diagonal lines through it...saying so many viruses detected..and credit… Black diagonal lines on the monitor Hardware and Software Hardware Mobile and Wearables by sharara i have lenovo y410 laptop. some black diagonal lines have come on the screen of unequal lengths. they … Getting the diagonal coordinates for 8 queens Programming Software Development by kevinyu Hello, I have some problems when getting the diagonal coordinates of the queen. What certain steps or algorithm could … Re: Getting the diagonal coordinates for 8 queens Programming Software Development by Ketsuekiame Not entirely sure what you're after... To find a diagonal, increase or decrease x and y by the same number... Re: Diagonal Movement Programming Software Development by IsharaComix Sounds like a job for vector math! What you want to do is figure out the unit vector that points in that direction. Then multiply that unit vector by the speed you want it to go. Here's the way I would do it. First of all, store bullet positions as doubles. Also, give the bullet a 'deltaX' and 'deltaY' parameter to represent the velocity vector.… Re: Diagonal Movement Programming Software Development by esy928 THANK YOU!!!! (jumping up and down =D) I'm so happy right now, thanks a lot, I'll get to work right away. Re: Diagonal rules in CSS? Digital Media UI / UX Design by TommyBs Can't you just create a css class with a background image of the X in question,set it to repeat and assign that class to the necessary td tag? Re: Diagonal rules in CSS? Digital Media UI / UX Design by TommyBs unless you know the fixed size of the table cell you will never get an exact fit which is why I still believe that a background image is the best idea. If you want to PM i don't mind sending you an example. Just to be even more controversal I'm going to ask why you are using tables at all and not just CSS! Re: Diagonal rules in CSS? Digital Media UI / UX Design by Tom Tolleson [I]Just to be even more controversal I'm going to ask why you are using tables at all and not just CSS![/I] It's a Federal Govt. contract and they have people who aren't developers trying to make design requests. I'm the only real developer in my group, so people come to me with ideas in odd contexts (such as an 'X' from CSS in a table). I wasn't … Re: Diagonal rules in CSS? Digital Media UI / UX Design by J_R "they have people who aren't developers trying to make design requests" Developers shouldn't be making design decisions either, unless they are skilled in that trade. Designers and developers use 2 completely different skill sets. Re: Diagonal rules in CSS? Digital Media UI / UX Design by autocrat Sorry... going to disagree on that one. If you let designers design, with no input from developers or users, then you are running the risk of getting a website that will fail. You need input from all angles, through every step, from conception of ideas through to final coding. Otherwise you end up with a site that is like 95% of those … Re: Diagonal rules in CSS? Digital Media UI / UX Design by MidiMagic This is a case where computer rules overrule the federal government. Javascript might be useful here. But they are asking for things that are generally not supplied. Re: Diagonal rules in CSS? Digital Media UI / UX Design by J_R [QUOTE=autocrat;582211]Sorry... going to disagree on that one. If you let designers design, with no input from developers or users, then you are running the risk of getting a website that will fail. You need input from all angles, through every step, from conception of ideas through to final coding. Otherwise you end up with a site that … Re: Diagonal rules in CSS? Digital Media UI / UX Design by autocrat ANd thats why so many Programmers have to use skills from other people! Please, think logicially. If you have a TEAM, then it needs to work as one. Therefore everyone in volved has to have input and contribute. Far to often I've seen professionals with amazing knowledge and prowess in their profession screw a project up by not listening to … Re: Diagonal rules in CSS? Digital Media UI / UX Design by MattEvans Designers need to know that the stuff they throw at the programmers is feasible. That means they need to be able to make more than just pretty head-in-the-sky designs, but workable designs. It's the same in every multimedia field. The designers need to know what they can and can't do subject to the project/product actually being ready on time, and …