473,396 Members | 2,024 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How to find Highest and Lowest with 3 inputs in different control statements

Hi, Im a college student and I have a minor subject which is programming though its not related on my course... my prof gave us a problem....can you help me?

We will make it in Turbo C, C++ and VB.. but as of now (Turbo C and C++)

This is the problem

Make a program based on the given logic below
a>b && a>c - a highest
b>a && b>c - b highest
c>a && c>b - c highest
and will determined the lowest

we will do this in different program control statements:
1.If-Then-Else
2.Multiple-If
3.Nested-If
4.Do Case
5.Do While
6.Do Until
7.For Next
8.Switch
9.Break
10.Loop

is it possible?
Aug 10 '14 #1
1 1135
weaknessforcats
9,208 Expert Mod 8TB
I can certainly help you when you are stuck but I cannot do the assignment.

Please read: http://bytes.com/faq.php?faq=posting...ask_a_question
Aug 10 '14 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Colin Graham | last post by:
Hi all, Basically ive built a vb .net app using a tab control for displaying and entering data. I originally hard coded this with the names of the various fields to have focus when i moved...
0
by: adbarnet | last post by:
Hi, A second question... In my treeview control, I would like to offer the user the ability to right click on a tree-node, and depending on the type of node clicked provide them either a list...
4
by: AB | last post by:
Hi All, I would like to add controls that stored in DB dynamically, and I don't know their names or their number. The names of the controls is important therefore I can't create cmbArr(0),...
6
by: apking | last post by:
please write the programe in c language for this Accept 5 Employee details to find highest salary employe name using for loop and arrays Thanks in advance
30
by: =?Utf-8?B?VGhvbWFzVDIy?= | last post by:
Hello, I have an array that holds 4 values ( they contain random numbers). I would like to find the lowest value (if there is a tie i would like to find one of the tie.) then remove that value....
3
by: markcash | last post by:
I have a web application where I am displaying the current inmate population for the county jail. Part of the information that I display is the mugshot. Unfortunately, they have changed the way...
9
by: raamay | last post by:
i have a table where the records are in the following fashion: firm w1 w3 w4 class abc ltd. b c d b bcd ltd. ...
1
by: Kris tarun | last post by:
I have a table of a retail store which has almost 13000 customers. and i want to write a query for this.. Group products based on their sales patterns. Highest, lowest, and median values. Use...
1
by: sanjay dhal | last post by:
I m using a mysql table(say tbl_student_mark) which have the data id,student_name,mark_physics,mark_chemistry,mark_biology.... I have to find the name of 3rd Heighest scrorer across the table Can...
2
by: cliffs | last post by:
I have the following the data in access 2003 database. sr No. high low pline dline basetype zonetype 1 1146 1142 1124 1126 1 1 2 ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.