answersLogoWhite

0


Best Answer

greatest = std::max (a, std::max(b, c));

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How you can find greatest of three variables using c plus plus programming?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What type of linear programming can be found by graphical methods?

A linear programming question with two variables. Problems with three can be solved if there is a constraint that reduces them to effectively two variables. Linear programming with 3 variables, using 3-d graphs is possible but not recommended.


What is structured programming in generally?

It means using only three structure when programming: sequence, selection, repetition.


What is optional for python programming?

One optional part of python programming is the declaration of variables before use. In many languages, you must declare your variables before using them, but in python, you can simply set a variable equal to something and it will handle the type without your help.


What is meant by mathematical model in particular linear programming model?

A mathematical model is the representation of a relationship or state or phenomenon in a mathematical form using control variables.


How do you solve 3 dimensional equations?

You can solve the system of equations with three variables using the substitute method, or using matrix operations.


Can you write an algorithm to find the greatest of three number using class?

Yes. But why?


What are the important features of swift programming?

1 )It eliminates entire classes of unsafe code2)Variables are always initialized before use 3)Arrays and integers are checked for overflow4)Memory is managed automatically5)Instead of using "if" statement in conditional programming, swift has "switch" function


How can you represent values using variables?

You can represent values using variables. This can only be done with whole numbers.


What are the 3 primitive logic structures?

The three primitive logic structures in programming are selection, loop and sequence. Any algorithm can be written using just these three structures.


In java all variables declared using a class are?

Reference variables


What do you mean by implicit and explicit variables declaration in visual basic?

implicit means you must declare variables before using them while explicit is not a must you declare variables before using them


When possible you should advoid using what variables in a program?

Global Variables Or: variables with names longer than 128 characters.