answersLogoWhite

0


Best Answer

See the related question for the answer.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Finding biggest of two numbers using single if?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you find the biggest of two numbers using single if?

You can only do this if the two numbers won't be equal: if(a > b) return a; else return b;


How do you decide when to compare numbers using ratios rather by finding the difference of the two numbers?

Finding the difference between two numbers involves rationalising them


What is the single biggest cause of car accidents while using a cell phone?

The single biggest cause of car accidents while using a cell phone - is cell phones.


What is the biggest even number using the numbers 9833?

9338


How do you find the biggest of n numbers using pointers in C?

yes


What do you do when you are finding the prime factorization of a number and you are using the division method and there are no numbers to divide?

If there are no numbers to divide - not even 1 - then you have made a mistake.


Write a sample program for finding biggest of 2 numbers using template function in c plus plus?

#include <iostream> using namespace std; template <typename T1, typename T2> T1 biggest(T1 x, T2 y) { if(x > y) { cout << "x is biggest" << endl; } else if(y > x) { cout << "y is biggest" << endl; } else { cout << "x & y is equal" << endl; } } int main() { biggest(1.3, 6); char wait; cin >> wait; return 0; }


When finding LCM do you have to keep going up using big numbers?

If you use the "list the multiples" method of finding the LCM, it is likely that the lists and the size of the numbers on the list will increase as the numbers you are comparing get larger. If you learn the "prime factorization" method, you can avoid that.


What is a sentence using the word median?

"Finding the median of a group of numbers usually isn't very challenging"


To find biggest of four numbers using if else loop?

largest number a,b,c,d


How do you print strings and numbers in single statement by using C language?

With printf.Example:for (i=0; i


What type of problems have imaginary numbers?

Imaginary numbers are only ever used when you are using the square roots of negative numbers. The square root of -1 is i. You may find imaginary numbers when you are finding roots of equations.