write a program on c(or)c++(or)java language i.e if i have 5
numbers like (10,24,3,9,15) i want to display highest number
from these numbers
Answer Posted / bhavesh gharat
#includ <conio.h>
#include <stdio.h>
void main()
{
int a[]={10,24,3,9,15};
int temp=a[0];
for(int i=1;i<a.length;i++)
{
if(temp<a[i])
{
temp=a[i];
}
}
printf(" higest no="+temp);
}
Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
what is adodb??y it is used for connection of V.B and access??what is ado?dao?
When will you use shell script/Perl ahead of C/C++?
Please forward important interview and basic questions in VB6 on my email id: usneha_16@yahoo.co.in
what is difference between input parameter and output parameter.
what is the difference between uservariables and systemvariables (in Environmental variables)???
a characteristic of a multiprogramming is? a.simultaneous exe of pgm instr 4m 2 appli b.concurrent processing of 2 r more prgms c.multiple cpu s d.all the abov
what is delegate and delegation model give the real live example on delegate model
what is meaning of MDM in sap?let me know that meaning
What is the purpose of
Can i please VHDL code for D-Latch with clear input ?? (HINT: Set up a “Process” with appropriate sensitivity list to get the desired D-Latch with Clr working.) Inputs and Outputs: entity Lab4b is Port ( Clr, Clk, D : in STD_LOGIC; Q : out STD_LOGIC); end Lab4b;
5. Which of the following can you do with DB2 Express- C? Query databases with SQL Query databases with XML using XQuery and XPath Use SQL in Xquery and Xquery in SQL All of the above
write a query that returns one row for each department and the number of employees in that department. Given two tables EMPLOYEE and DEPARTMENT, where there can be multiple employees per department.
Write a program to create a process in UNIX
How does the TCP handle the issue of multiplexing?
9.Difference between even and odd signals?explain with the diagram?