Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

JO NUMBER likes a number that can be represented as nx (n + 1) (n + 2) = 3 where n is a positive integer.

image text in transcribed
JO NUMBER likes a number that can be represented as nx (n + 1) (n + 2) = 3 where n is a positive integer. He named those number as JoNumber. Given an integer Xcould X be represented as a sum of 2 JoNumber? Format Input The first line is an integer T representing the number of test cases. For each test case, there will be 1 line consisting of an integer X. Format Output For each test case output "Case #1: S". I is the test case number and Sis the answer to the question. If X could be represented as a sum of 2 JoNumber then output "Yes", otherwise output No. Constraints 1ST 55 1sX s 1015 Sample Input 1 (standard input) 2 10 11 Sample Output 1 (standard output) Case #1: Yes Case #2: No NOTES: USING DEV C++ For the beginning please include #include

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning ASP.NET 4.5 Databases

Authors: Sandeep Chanda, Damien Foggon

3rd Edition

1430243805, 978-1430243809

More Books

Students also viewed these Databases questions