program to find a smallest number in an array

Answer Posted / kalee

// Algorithm

Add the numbers directly into a set<double> varible, while getting the values from keyboard. First element of this set will be the least integer

This is a bad answer , if memory constraint is to be taken into account

Is This Answer Correct ?    4 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?

668


What are the types of data structures in c?

616


Which control loop is recommended if you have to execute set of statements for fixed number of times?

832


Explain what is a program flowchart and explain how does it help in writing a program?

669


Is c++ based on c?

669






If the size of int data type is two bytes, what is the range of signed int data type?

609


A routine usually part of the operation system that loads a program into memory prior to execution a) linker b) loader c) preprocessor d) compiler

638


Write a Program to accept different goods with the number, price and date of purchase and display them

5476


what do the 'c' and 'v' in argc and argv stand for?

662


One of the Institutes contains 5 student groups. Every group contains 4 students. Institute wants to store student group’s details in array. Group should contain group member’s details (name and registration number and age), project name, and mark of the group.

2176


What is the difference between arrays and pointers?

647


why wipro wase

1848


What is the difference between memcpy and memmove?

622


Explain null pointer.

634


What is ponter?

790