Q&A Discussions
DIFFERENT TYPE
0 Votes
1 Answerexception <3
-1 Vote
1 AnswerI was playing in the code playground after learning about the String.Concat in the static classes course. I have the following code, and was wondering if it's possible to put a period and space between the two texts, and how to put the second text on the next line.
http://www.sololearn.com/app/csharp/playground/c0rAVF6X3KwP/
-1 Vote
4 AnswersIs it possible to make my code run without having to press Enter on my IDE? For example: if I'm making a calculator and I want the calculations to be made as soon as I press "=" after typing the numbers and the operator?
Say I wanted to add two numbers: can it calculate automatically as soon as I write "2+3=" without having to press Enter?
0 Votes
5 AnswersIm looking for the program to calculate the longest password out of five seperate words and then print out that word e.g
Password1: hello
Password2 : two
Password3: security
Password4: four
Password5: default
Security is the longest password as it has the most characters. How do i get the program to calculate this and then print out that word
0 Votes
3 AnswersI can not figure this out. Write a program using an array to prompt for 10 grades and add them all up and divide by 10 to find the average. If a user inputs a negative number, add up all the numbers that are not negative and divide it by the amount of numbers that are not negative. Using two functions other than main.
1 Vote
4 Answersin order to find the sum of n numbers given by user,suppose our program is to find the sum of any 4 numbers given by user (using while loop such that (while(i<=4))and incrementing each value of i by 1),if the user give any 2 inputs instead of four then the total sum should be the summation of that two inputs..but the program shows the sum something else,why it is so??
2 Votes
3 Answersabout svg. Q1: when setting up layout size, height & width, do we need an extra layout for some things different from the first layout. ie two layouts?
Q2: what is the purpose of the size? how does it affect graphics in it?
Q3: how to treat problem of over lapping or/and over ridding?
1 Vote
2 Answersclasse animal has makesound function i.e grr..... nd classes cat and dog also have makesound function i.e meow nd woof respectively... due to inheritance classes cat and dog also have makesound function of animal class ie grr.... now my q is how compiler will know which function to execute is nt ds ambiguous??... two choices r dere....
1 make sound function of animal class ie grr
2 make sound function of own like woof or meow.... any help would be really helpful....
0 Votes
6 AnswersI need to design a recursive function called replicate recur which will receive two arguments: times which is the number of times to repeat and data which is the number or string to be repeated.
The function should return an array containing repetitions of the data argument.
For instance, replicate_recur (3, 5) should return [5,5,5].
If the times argument is negative or zero, return an empty array. If the argument is invalid, raise ValueError.
0 Votes
4 Answersi have two tables table_1 in database_1 and table_a in database_A. from different programs. they contain 60% the same columns. 40% is different. the columns are sorted differently. I would like to to edit only one of them an update the other automatically. Any idea on how to? Thank you in advance. With kind regards Jo Pi
0 Votes
3 AnswersWrite and test a program that solves quadratic equations. A
quadratic equation is an equation of the form ax2+ bx + c =0 ,where a,b and c are given coefficient and x is the unknown The coefficients are real number inputs ,so they should be declared of type float or double Since quadratic equations typically have two solutions ,use x1 and x2 for the solutions to be output These should be declared of type double to avoid inaccuracies from round-off error
-1 Vote
3 AnswersCould someone please help me with this..
Write code for an applet class that contains three labels First Number, Second Number, and Sum; three text fields for displaying the values of First Number, Second Number, and Sum, respectively; a button labeled Add. The applet allows the user to enter two integer values and displays the Sum if the Add button is clicked.
Write a html page to run and display the applet appropriately
0 Votes
4 AnswersTo bind two things of similar origin but separate identities together as one unit with ability to function independently as long and the unit is not corrupted. How to set x to get y and become z permanently and protect the unit from corrupt or deviation or denying or hiding while z securely functions actively is the purpose.
0 Votes
1 AnswerQ1: should we always assign one svg size if more than one graphs are drawn?
Q2: again, I want to make two different animations of different shapes? in the same svg, without changing the size, no result?
Q3: and again, in a same svg sized, want to make path with combinations of C, S , A etc, no results?
what is proper ways to do the above? what attentions should we pay to ?
0 Votes
2 AnswersMatt reaches the final round of a treasure hunt. In this, he finds that as he proceeds there are flags with the number written on them at different positions. The difference between two consecutive flags can be either a or b. If he finds the number on the first flag is 0. Given three integer, first one is number of flags present, second is a and third is b. then return all the possible values for last flag for each test case.
hunt({3 1 2}) = {2 3 4}
0 Votes
2 AnswersHot today
Sticky position
2 Votes
Help please?
3 Votes
Online voting system
2 Votes
What is that z for
0 Votes
Suggestions needed
4 Votes
SQL practice
2 Votes
Game development
0 Votes
Ruby programming?
3 Votes