Ask a New Question
Search
Asked by
elsa
make a program that will input 6 numbers and output the highest number and the lowest number
Answers
Answers
Answered by
Steve
input n
max=min=n
for i=2..6
read n
if n>max then max=n
if n<min then min=n
next i
print max,min
Related Questions
Related
How can you make an input output division chart
Write a program that will input an item’s wholesale cost and its markup percentage. The program w...
make an input-output table for the equation y= -x-2 using the domain 0,1,2 and 3. Tell whether the t...
Ted wants to make an input- output table with numbers of meters as input values and numbers of centi...
1. Make a C program that will input two integers and then to enter an option as follows: • 1 = t...
a program to input the prices of two items as well as the quantities purchased, and compute the amou...
Write a program that input two numbers and find if second number is square of firs number
Write a java program to input an integer numbers and find the highest number among them (using array...
Write a java program to input the ages of '10'students and count the number of students who has the...
I need a program to input age of 10 persons and output the oldest and youngest age.