#include
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.)
4448PROBLEM #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.
1 5774what will be the output of this program? void main() { int a[]={5,10,15}; int i=0,num; num=a[++i] + ++i +(++i); printf("%d",num); }
3 5264write a function that reverse the elements of an array in place.The function must accept only one pointer value and return void.
3954write a function that allocates memory for a single data type passed as a parameter.the function uses the new operator and return a pointer to the allocated memory.the function must catch and handle any exception during allocation
HCL,
2397create a stucture student containing field for roll no,class,year and marks.create 10 student annd store them in a file
HCL,
2218how to programme using switch statements and fuctions, a programme that will output two even numbers, two odd numbers and two prime numbers of the users chioce.
2141find out the list of users who have access to all t-codes starts with 'SU'? thanks in advance all.
2019
Please give me the vb.net codes for deadlock(like detecting,& avoiding) in any version of vb.net.
What is the functionality of GetWindowText?
How to add a value from textBox over an existing certain column in SQL Server
what mean void creat_object?in public class in this code class A{ public: int x; A(){ cout << endl<< "Constructor A";} ~A(){ cout << endl<< "Destructor A, x is\t"<< x;} }; void create_object(); void main() { A a; a.x=10; { A c; c.x=20; } create_object(); } void create_object() { A b; b.x=30; }
What are the basic rules while writing XML?
What is XML DOM Document?
What is the output, suppose list1 is [1, 3, 2], what is list1 * 2 ?
Write a function that takes as input a binary tree, and prints out each level of the tree on a newline. For example: a / b c / / d e f will output: a b c d e f
Write a python program to count the number of digits in a number?
create Drop-Down Navigation Menus
determine which Element received an Event
how to create a 3x3 two dimensional array that will give you the sums on the left and bottom columns
What is the functionality of EnumWindows?
Given a N by N matrix of both negative and positive integers. Write an efficient algorithm to find the sub-matrix with the largest sum of all the contained elements.
How to Print Asp.net GridView Data on Button Click using Javascript?