Exercise 4 Week 2 - Java Tutorial AllAboutTen Sum of Two Values Multiplication

Опубликовано: 04 Март 2025
на канале: Red Stag Digital
350
1

For more: http://redstagdigital.com/

Next Video:    • Exercise 5 Week 2 - Java Tutorials Mo...  
Description of Problem:
Given 2 int values a and b (between 1 and 10 inclusive), print "We got ten!" if one of them is 10 or if their sum is 10

Objective:
Write a Java program called AllAboutTen that prompts the user to enter two int values. Print "We got ten!" if one of the int values is 10 or if their sum is 10.Description of Problem:
Given 2 int values a and b (between 1 and 10 inclusive), print "We got ten!" if one of them is 10 or if their sum is 10

Objective:
Write a Java program called AllAboutTen that prompts the user to enter two int values. Print "We got ten!" if one of the int values is 10 or if their sum is 10.