write a program that takes two numbers from user that
prints the smallest number
Answers were Sorted based on User's Feedback
Answer / hemant jakkani
printf("First Number is greater: %d",x);
printf("Second Number is greater:%d",y);
|Is This Answer Correct ?||6 Yes||1 No|
Answer / vaishnavi
cout<<"Enter two numbers";
|Is This Answer Correct ?||2 Yes||1 No|
How do you print for example the integers 3,2,1,5,4 in a binary tree within the console in format where it looks like an actual binary tree?
what is Loop function? What are different types of Loops?
write a program that reads in a file and counts the number of lines, words, and characters. Your program should ask the user to input a filename. Open the file and report an error if the file does not exist or cannot be opened for some other reason. Then read in the contents of the file and count the number of lines, words, and characters in the file. Also print additional information about the file, such as the longest and shortest words, and longest and shortest lines. For simplicity, we define a word to be one or more characters ending with white space (a space, tab, carriage return, etc.). Functions for checking the types of characters can be found in the ctype.h header file, so you want to include this header file in your program. For example, the sentence below could be all that is in a file. This sentence IT 104 is taught in C++. has 32 characters, one line, and six words. The shortest line is 32 characters. The longest line is 32 characters. The shortest word is 2 characters. The longest word is 6 characters
Evaluate !(1&&1||1&&0) a) Error b) False c) True
make a middle node of doubly linklist to the top of the list
Briefly describe a B+ tree. What is bulk loading in it?
Which algorithm do you like the most? Why?
Can you help me with this one? Make a program that when a user inputed a Product Name, it will display its price, and when the user inputed the quantity of the inputed product, it will show its total price. The output must be like this: Product Name: Price: Quantity: Total Price: ..this is the list of products to be inputed: Cellphone - 1500 Washing Machine - 5200 Television - 6000 Refrigirator - 8000 Oven - 2000 Computer - 11000 thanks..:D
Problem 6: Area of a trapezoid can be calculated by the following formula: A=(b1 b2)Ã—h2 where b1 and b2 are the parallel sides or the bases and h is length of height Write a C code of this program
What is meant by entry controlled loop?
What is the use of 'this' pointer?
What are the different types of Storage classes?