Program to find largest of three numbers (C++)

Program to find largest of three numbers


#include <stdio.h>
#include <conio.h>
void main () {
int x, y, z;
printf(“Enter X:”);
printf(“Enter Y:”);
printf(“Enter Z:”);
if (x>y && x>z)
printf(“\nX is greater than Y and Z”);
else if (y>x && y>z)
printf(“\nY is greater than X and Z”);
else if (z>x && z>y)
printf(“\nZ is greater than X and Y”);
printf(“You entered some equal numbers!”);


Find Largest Number Program

Find Largest Number Program

“My posts/articles/images are not allowed to be stolen/copied anywhere at Cyber space. Doing so will allow me to take a legal action against the copier.”

Related Posts

M.Bakhtiar Zuberi
I'm M.Bakhtiar Zuberi, the owner of and its network websites. I've been web-developing & graphics-designing for the past 7 years, since the age of 11. I like to work with PHP/HTML and Photoshop/Illustrator. Part-time developer of ZCL and ETC cryptocurrencies. I love to blog here and write for Tribune in my free time.

Leave a Comment

Kindly solve the following puzzle to prove that you\'re not a bot: