vendredi 12 février 2021

i am trying to create a program in C++. the program should compare five integers and to print out the largest and the smallest [closed]

i just started doing c++, and I created my first program . the program is about comparing five integers to print out the smallest and the largest of the five integers. Each time i run the program, it gives me only smallest number and not the largest number. can someone help please?

Aucun commentaire:

Enregistrer un commentaire