You are on page 1of 1

Quiz 2

Name:

ID:

Write a program that prompts a user to enter N integer numbers in the range [-9999], if the
entered number is not in the range ask the user to enter a new number. Find the absolute value
for all negative ones, and then aggregate all numbers have been entered excluding odd
numbers till the total still less than 300.
Sample input / output:

You might also like