what is the use of using for loop as "for(;;)"?
Answers were Sorted based on User's Feedback
Answer / piyush
for gating infinite time looping use for(;;),second approach
same as while(true).
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / arun n patil
for using first inisilization;second test counter;third
increment/decrement
int i;
syntax: for(i=0;i<=100;i++)
| Is This Answer Correct ? | 2 Yes | 2 No |
PROBLEM #8 The cashier at the counter of a Super Store, Mr. Khazaanchi has the following bundles of rupee cash notes with him: Rs. 1, 2, 5, 10, 50, 100, 500, 1000 A customer comes at his counter with various items that he has shopped. Mr. Khazaanchi totals the item prices and tells the customer his total amount payable. The customer gives Mr. Khazanchi some amount of cash. Find the total number of rupee notes of each denomination (i.e. 1, 2, 5, 10, 50, 100, 500, 1000) Mr. Khazaanchi will have to give to the withdrawer ensuring that the total number of rupee notes are minimum.
hello friends, given an expression we have to remove the unwanted brackets in that expression. Eg : (a+b) ---> a+b (a+b)*(c)-----> (a+b)*c. Please mail me if you know the logic. My mail id is : saravana6m@gmail.com. Thank you in advance :-)
1 Answers GrapeCity, Microsoft,
How do I store linked list datas into an array?
Write a (n) algorithm that sorts n distinct integers, ranging in size between 1 and kn inclusive, where k is a constant positive integer. (Hint: Use a kn-element array.)
program to find the magic square using array
How can I Draw an ellipse in 3d space and color it by using graph3d?
write a program that reads a series of strings and prints only those strings begging with letter "b"
develop a program to calculate and print body mass index for 200 employees
0 Answers Jomo Kenyatta University,
i really need help about this.. write a program to display the set of odd and even numbers separately. find the highest and lowest value of the given numbers.
swap prog
Write a program to enter 10 number of integer entries into an array n and then odds up all the odd entries. the program then displays the result. plssss answer assss fast asss u can...
readers and writers problem