:: Home Page
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   Errors
   Testimonials Refer this Site  Refer This Site to Your Friends  Site Map  Contact Us      
 Categories >> Code Snippets
  Programming Code (759)   Scripts_Markup Code (135)
Suggest New Category 


Question Asked @ Answers Views     Select
How to add a value from textBox over an existing certain column in SQL Server    0  950
Using C# Write a program that performs the following. The user inputs a number and then enters a series of numbers from 1 to that number. Your program should determine which number (or numbers) is missing or duplicated in the series, if any. For example, if the user entered 5 as the initial number and then entered the following sequences, the results should be as shown. Input Sequence Output ---------------------- --------------- 1 2 3 4 5 Nothing bad However, if 7 were the high number, the user would see the results on the right for the following number entries: Input Sequence Output ---------------------- --------------- 1 3 2 4 5 Missing 6 Missing 7 And if 10 were the high number and the user entered the numbers shown on the left, note the list of missing and duplicate numbers: Input Sequence Output ---------------------- --------------- 1 2 4 7 4 4 5 10 8 2 6 Duplicate 2 ( 2 times) Missing 3 Duplicate 4 ( 3 times ) Missing 9 The program should check the high number that the user inputs to ensure that it does not exceed the size of any array you might be using for storage.    0  1866
How to Check if a string is alphanumeric or not using VB Script    1  1817
what is oop?    2  1509
which function is used to clear the buffer stream on gcc? for example: I wrote following code on gcc #include int main(void) { char ch; int a,b; printf("\nenter two numbers:\t"); scanf("%d%d",&a,&b); printf("enter number is %d and %d",a,b); printf("\nentercharacter:\t"); scanf("%c",&ch); printf("enter character is %c",ch); return 0; } in above progarm ch could not be scan. why?plz tell me solution.    2  2022
does anyone know the code to display a triangle using a applet?    1  1545
code inside filter to restrict users to access a servlet component . niit   1  1222
write a c program which takes 20 numbers in an array as input from user and rearrange them in two different array defining even or odd    0  1131
solve the problem in the programming language C++"if a five digit number is input through the keyboard.Write a program to calculate the sum of its digits(hint: use the modulus operator)    0  1297
program for check the given number is prime or not in    0  1199
write a program to calculate the amount of investment after a period n years if the principal investors was p and interest is calculated using compound interest,formular=a=p(1+r)^n jomo-kenyatta-university   0  980
write a program to convert temperature from fa height into celcius and vise versa,use modular programming jomo-kenyatta-university   0  969
write a program to calculate the radius for a quadratic equation use modular programming(function abitraction)hint use quadratic function jomo-kenyatta-university   1  1572
write a program that calculate the volume of cylinder after user enters radius and height and show the algorithm used jomo-kenyatta-university   1  3124
write a program that prompt the user to enter his height and weight,then calculate the body mass index and show the algorithm used jomo-kenyatta-university   0  2298
E-Mail New Answers        Answer Selected Questions       
Prev     1   [2]    3  ... 9   ... 13   ... 17   ... 21   ... 25   ... 29   ... 33   ... 37   ... 41   ... 45   ... 49   ... 53   ... 57    Next
Un-Answered Questions
 Question Views   Select
create a .dll component operation and use created component in another project. required methods events and properties. connect, add,search,data report 829
Coding for Synchronizing Cache Access in ASP.NET? 1344
code to set the main window's size 622
using friend function find the maximum number from given two numbers from two different classes.write all necessary functions and constructor for the classes. 5826
How to block double clicks 596
You have been asked to install a servlet engine (tomcat, glassfish, etc.) for a companies servlets. Assuming the company has an existing web/DBMS server (which may or may not be on the same server), explain in detail how would you implement the development project and a deployment solution. 933
plz send code for Ecorps in j2ee frontend:J2EE Backend: DB2 Express 1061
code to sorting an array of objects 883
Hello I am hosting remoting within IIS. Everything works just fine as long as I allow anonymous access at the IIS level. When I allow only Windows Authenticated sessions, something very strange happens: If the client activates the remote object with IP address - works fine If the client activates it using a machine name - get http 401 exception is thrown. The exception is thrown when the client calls the remote method. I set the channel's useDefaultCredentials property to true. Any idea how to allow Windows Authentication? Here is the call stack: System.Net.WebException: The remote server returned an error: (401) Unauthorized .. ---> System.ComponentModel.Win32Exception: The target principal name is incorrect at System.Net.NTAuthentication.GetOutgoingBlob(Byte[] incomingBlob, Boolean handshakeComplete) at System.Net.NTAuthentication.GetOutgoingBlob(String incomingBlob, Boolean handshakeComplete) at System.Net.NegotiateClient.DoAuthenticate(String challenge, WebRequest webRequest, ICredentials credentials, Boolean preAuthenticate) at System.Net.NegotiateClient.DoAuthenticate(String challenge, WebRequest webRequest, ICredentials credentials, Boolean preAuthenticate) at System.Net.NegotiateClient.Authenticate(String challenge, WebRequest webRequest, ICredentials credentials) at System.Net.AuthenticationManager.Authenticate(String challenge, WebRequest request, ICredentials credentials) at System.Net.AuthenticationState.AttemptAuthenticate (HttpWebRequest httpWebRequest, ICredentials authInfo) --- End of inner exception stack trace --- 2292
Can we change the validator-rules.xml for our own validations in struts?? 925
write a program that reads a series of strings and prints only those strings begging with letter "b" 746
how to create a Custom Scrollbar 979
how to insert fname,lname,designation values into database while click on the submit button using windows authentication mode? 890
write a program that prompt the user to enter his height and weight,then calculate the body mass index and show the algorithm used 2298
how to pass data between pages using Frames 1048
E-Mail New Answers        Answer Selected Questions