Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

a construct the"else" part of "if" statement contains anoth "if else" statement is called a) if-else b) else-if-else c) if-else-if-else d) chain if/if-else-if

1145


What are types of functions?

1042


Why is this loop always executing once?

1058


Do variables need to be initialized?

1058


How can I change their mode to binary?

1119


What is chain pointer in c?

1060


What is scanf_s in c?

1125


How many main () function we can have in a project?

1115


Why do we use return in c?

1004


Tell us something about keyword 'auto'.

1074


Why is python slower than c?

1089


The number of measuring units from an arbitarary starting point in a record,area,or control block to some other point a) recording pointer b) offset c) branching d) none

1255


a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion

2780


int far *near * p; means

3560


I heard that you have to include stdio.h before calling printf. Why?

1067