(I need this program to be done with in 6hrs if possible)
Using the windows32 framework(optional), write a program that will input an integer targetValue, and calculate the value of nbrTerms, where nbrTerms is the smallest integer such that
12 + 22 + 32 + ... + nbrTerms2 ≥ targetValue
For example, if you input 50, then the program would display 5 since 1 + 4 + 9 + 16 = 30, but 1 + 4 + 9 + 16 + 25 = 55.
Other requirements:
Use appropriate prompts and labels
Prompt for targetValue until the user enters a positive value