Thursday, April 23, 2020

Highest of Three Numbers in Python


Write a program that will ask the user to input three numbers and then, the program will check which of the three numbers have the highest numerical value, and display the result of the  screen.
I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, IT projects, school and application development, programming projects, thesis, and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details. If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is +63 (034) 4335675.

Here in Bacolod City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking, and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com

My programming website is http://www.jakerpomperada.blogspot.com

I am also a book author you can purchase my books on computer programming and information technology in the following links below.

https://www.unlimitedbooksph.com/



Program Listing


print()
print("\tHIGHEST NUMBER CHECKER");
print()
n1  = int(input('\tGive value number 1 :  '))
n2  = int(input('\tGive value number 2 :  '))
n3  = int(input('\tGive value number 3 :  '))
print()
if n1 >= n2 and n1 >= n3 :
    print("\tThe highest number is %d." % n1);
if n2 >= n1 and n2 >= n3  :
   print("\tThe highest number is %d." % n2);
if n3 >= n1 and n3 >= n2 :
   print("\tThe highest number is %d." % n3);
print();
print("\tEND OF PROGRAM");
print("\n\n");

No comments:

Post a Comment