write a program that reads a series of strings and prints only
those strings begging with letter "b"
No Answer is Posted For this Question
Be the First to Post Answer
A Binary no. is given, we hav to find it's decimal equivalent.
using friend function find the maximum number from given two numbers from two different classes.write all necessary functions and constructor for the classes.
Definition of priority queue was given. We have to implement the priority queue using array of pointers with the priorities given in the range 1..n. The array could be accessed using the variable top. The list corresponding to the array elements contains the items having the priority as the array index. Adding an item would require changing the value of top if it has higher priority than top. Extracting an item would require deleting the first element from the corresponding queue. The following class was given: class PriorityQueue { int *Data[100]; int top; public: void put(int item, int priority); // inserts the item with the given priority. int get(int priority); // extract the element with the given priority. int count(); // returns the total elements in the priority queue. int isEmpty(); // check whether the priority queue is empty or not. }; We had to implement all these class functions.
0 Answers Nagarro, Wollega University,
What will be the output- for(i=1;i<=3;i++) { printf("%d",i); continue; i++; }
develop a program to calculate and print body mass index for 200 employees
0 Answers Jomo Kenyatta University,
program to find the magic square using array
write a program in c++ to scramble a bmp image file using a scramble key 0x7c and an XOR logic. print out the original image, the scrambled image and the program. Note: the first 24bytes of a bmp file contain the header information of the file.
Where now stands that small knot of villages known as the Endians, a mighty forest once stood. Indeed, legand has it that you could have stoodon the edge of the wood and seen it stretch out for miles, were it not for the trees getting in the way. In one section of the forest, the trees stood in a row and were of hight from 1 to n, each hight occurring once and once only. A tree was only visible if there were no higher trees before it in the row. For example, if the heights were 324165, the only visible trees would have been those of height 3,4 & 6. Write a Program that takes an array of integers representing the heights of the trees in the row as input and prints the list of the visible trees.
write a program using virtual function to find the transposing of a square matrix?
Given 1 to n random number, find top 10 maximum numbers and explain the time complexity of the algorithm.
Write an algorithm that receives a string and reverses it.
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.