samedi 26 décembre 2020

Java Test for a friend [closed]

Hello there guy i have a friend which is sisco ccna and he is trying to pass some exams and they have the tasks bellow,i kindly ask an assistan to help here

1) **

Write in Java a program that will read integers and will print their square (x2 ) Until it meets 0. At the end the program must print the sum of the positives separately numbers and the sum of the negative numbers he read. THE calculation of the square to be done by definition and use corresponding function. I think for a developer they are very easy ...

2) Write the code of an application that accepts numbers between 10 and 100. Numbers will be recorded but only displayed if they are not copies of a number already recorded. use it as few table positions as possible to solve the problem. Display the full set of unique input values. ** Thank you guys!

Aucun commentaire:

Enregistrer un commentaire