ALLInterview.com :: 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
 
  C Code (415)   C++ Code (125)   VC++ Code (17)   Java Code (82)   Dot Net Code (114)
  Visual Basic Code (11)   Programming Code AllOther (46)
 
Suggest New Category 
 


   


Question Asked @ Answers Views     Select
A program that will create a movie seat reservation. The program will display the summary seats and its status. The user will be ask what seat no. to be reserved, then it will go back again to the summary to display the updated seat status. If the seat no. is already reserved then it will prompt an error message. And also if the input seat no is out of range then it will also prompt an error message. The program is continuously running. Termination of the program will depends on how the programmer will apply. Sample output: Movie Seats Reservation Summary of Seats: Seat 1: Available Seat 2: Available Seat 3: Available Seat 4: Available Seat 5: Available Enter seat no. (Press 0 to terminate Or the assigned seat capacity) : 1 Movie Seats Reservation Summary of Seats: Seat 1: Reserve Seat 2: Available Seat 3: Available Seat 4: Available Seat 5: Available Enter seat no. (Press 0 to terminate Or the assigned seat capacity) : 6 The Seat no. is out of range! Movie Seats Reservation Summary of Seats: Seat 1: Reserve Seat 2: Available Seat 3: Available Seat 4: Available Seat 5: Available Enter seat no. (Press 0 to terminate Or the assigned seat capacity) : 1 The Seat no. is already reserved! Movie Seats Reservation Summary of Seats: Seat 1: Reserve Seat 2: Available Seat 3: Available Seat 4: Available Seat 5: Available Enter seat no. (Press 0 to terminate Or the assigned seat capacity) : 0 GoodBye... Thank You!!!    0  70
All the combinations of prime numbers whose sum gives 32    1  276
Beautiful is for 012345678 9 and a code for similar word containing the same alphabets    0  250
4. Main() { Int i=3,j=2,c=0,m; m=i&&j||c&I; printf(ā€œ%d%d%d%dā€,I,j,c,m); }    2  737
Write a program that produces these three columns sequence nos. using loop statement Sequence nos. Squared Squared + 5 1 1 6 2 4 9 3 9 14 4 16 21 5 25 30    1  372
Write a program using one dimensional array to assign values and then display it on the screen. Use the formula a[i]=i*10 to assign value to an element.    1  311
Write a Program in 'C' To Insert a Unique Number Only. (Hint: Just Like a Primary Key Numbers In Database.) Please Some One Suggest Me a Better Solution for This question ??    0  362
1+(2*3)+(4*5*6)+(7*8*9*10)+... specified input value    1  481
Sir... please give some important coding questions asked by product companies..    0  429
why is printf("%d %d %d",i++,--i,i--);    4  1295
In java, why do we set thread priority, when we know that there is no guarantee by which a thread should be execute?    0  710
Why we use J2ME?    1  1163
What are advantages of J2ME?    1  947
What are disadvantage of J2ME?    1  900
What is Generic" J2ME architecture?    0  723
E-Mail New Answers        Answer Selected Questions       
 [1]    2  ... 5   ... 9   ... 13   ... 17   ... 21   ... 25   ... 29   ... 33   ... 37   ... 41   ... 45   ... 49   ... 53    Next
 
 
 
 
 
Un-Answered Questions
 
 Question Views   Select
 
Create a program to read two random data set in two files named data1.txt and data2.txt manifold contains integer numbers, whereas data2.txt file contains the float type numbers. Simpanlahmasing each into 2 pieces of data that is an array of type integer array and an array of type float, then calculate the average numbers in the second array. 991
Code for Small C++ Class to Transform Any Static Control into a Hyperlink Control? 1528
How we use ajax in asp.net through javaScript. Please givee me an example. 1489
In LSMW , what does the following error mean and how to rectify it : Incorrect interface data for set 78 in method C . This error is occuring in idoc processing step of LSMW. 1268
Hello Sir, Thanks for the Solution but, can you pls. Explain the coding for the Static Function & static variable from the below coding....waiting for Ans. class fact { public static void Main() { fact f=new fact(); int x=1; //Declaration of x as 1 int k=Convert.ToInt32(Console.ReadLine()); for(int i=1;i<=k;i++) { x= x *i; } System.Console.WriteLine(x); } } 1030
How can you relate the function with the structure? Explain with an appropriate example. 1429
1.What happens to a session object when the browser associated with it is closed? 2. Explain what happens when a servlet is sent a POST request? 3. Why does only one copy of a servlet get created? 4. Explain what happens when a browser requests a servlet? (for the first time) 5.How is information stored in a session object? 943
why nlogn is the lower limit of any sort algorithm? 934
could you please send the program code for multiplying sparse matrix in c???? 1717
1.What type of material can be sent from a Java servlet to a browser ? How does the browser know how to deal with the material? 2.Explain what happens to a servlet when a servlet engine is sent a GET request. 1078
Design a timer circuit using VHDL which has the following: input : start_timer(ST) output: long_time(LT) short_time(ST) when the timer is triggered by the ST(either 0 or 1) signal the timer should generate two timing signals accordingly.While the long time is going ON the other should be OFF and vice versa. 1174
How can I Draw an ellipse in 3d space and color it by using graph3d? 1002
program for straight line(y=mx+c) 3340
create a .dll component operation and use created component in another project. required methods events and properties. connect, add,search,data report 1093
create a stucture student containing field for roll no,class,year and marks.create 10 student annd store them in a file 1090
E-Mail New Answers        Answer Selected Questions