Advertisement
2002ASP Math #7333

Finds the Minimum number of 7 numbers

This program finds the Minimum number of 7 numbers entered.

AI

AI சுருக்கம்: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

மூலக் குறியீடு
original-source
#include <iostream.h>
#include <conio.h>
void main()
{
clrscr();
int i,num,min;
for(i=1;i<=7;i++)
{
cout<<"please enter a value #"<<i<<":";
cin>>num;
if (i==1)
min=num;
else
if(num<min)
min=num;
}
cout<<"the smallest number is :"<<min;
}
அசல் கருத்துகள் (3)
வேபேக் மெஷினிலிருந்து (Wayback Machine) மீட்டெடுக்கப்பட்டது