Programming Code (840)
Scripts_Markup Code (257) Create a class called Accounts which has data members like ACCOUNT no, Customer name, Account type, Transaction type (d/w), amount, balance D->Deposit W->Withdrawal If transaction type is deposit call the credit(int amount) and update balance in this method. If transaction type is withdraw call debit(int amt) and update balance. Pass the other information like Account no,name,Account Type through constructor. Call the show data method to display the values.
1 6804int main() { int x=10; printf("x=%d, count of earlier print=%d", x,printf("x=%d, y=%d",x,--x)); getch(); } ================================================== returns error>> ld returned 1 exit status =================================================== Does it have something to do with printf() inside another printf().
1 5326int main() { int x=10; printf("x=%d, count of earlier print=%d", x,printf("x=%d, y=%d",x,--x)); getch(); } ================================================== returns error>> ld returned 1 exit status =================================================== Does it have something to do with printf() inside another printf().
2 5848There are 21 people in a room. They have to form groups of 3 people each. How many combinations are possible? Write a C program to print the same.
TCS,
1 4857Write a C program to print ‘Campus Force training’ without using even a single semicolon in the program.
3 8735Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
3817Write a program to check whether the number is prime and also check if it there i n fibonacci series, then return true otherwise return false
1 5737using friend function find the maximum number from given two numbers from two different classes.write all necessary functions and constructor for the classes.
TCS,
1 18479write a function to give demostrate the functionality of 3d in 1d. function prototye: change(int value,int indexX,int indexY,int indexZ, int [] 1dArray); value=what is the date; indexX=x-asix indexY=y-axis indexZ=z-axis and 1dArray=in which and where the value is stored??
4758There is a lucky draw held every day. if there is a winning number eg 1876,then all possible numbers like 1867,1687,1768 etc are the numbers that match irrespective of the position of the digit. Thus all these numbers qualify fr the lucky draw prize Assume there is no zero digit in any numbers. write a program to show all the possible winning numbers if a "winning number"is passed as an arguments to the function.
1 7994
Given a spherical surface, write bump-mapping procedure to generate the bumpy surface of an orange
What is XML Parser?
Write a python program to print table of a given number?
What is the meaning of version in XML?
Sir... please give some important coding questions asked by product companies..
I am trying to pass the string firstName from a Servlet called SampleServet. I am running this on eclipse and it tells me that "the value for annotation attribute must be a constant expression. I don't understand why it is giving me this error. @PersonAnnotation(name = SampleServlet.firstName) public class AnnotationClass{
can any body give me answer to this question please? please give me code in cl with the folling specifications. 1.Accept 2 parameters-date and date type 2.If date type is J then convert date to *MDY format 3.If date type is M convert date to *JUL format 4. Send a program message with the value of converted date? Please give me the answer.Because im practicing in my house.Im taking trining on AS/400.
Why XSLT is important for XML?
How to check if Folder is a Special Shell Folder ?
code to detect availability of cookies
Write a python program to check if a number is a prime number?
Code for Method of Handling Factorials of Any Size?
determine which Element received an Event
how to write a program that opens a file and display in reverse order?
write a simple calculator c program to perform addition, subtraction, mul and div.