dimanche 17 novembre 2019

Write a c program

Write a c program that inputs the series of 5 integers that are different than 0 on the same line which can find the largest and the second largest number in the array and prints these following outputs on the scree.
Enter 5 integers: -10 20 35 70 28 The largest number:70 The second largest number:35 70 is the multiple of 35
70 and the 35 is not equal each other
70 is an even numbe

Aucun commentaire:

Enregistrer un commentaire