Program that will input an interger target value, Operating System

When you turn in an assignment to be graded in this class, you are making the claim that you neither gave nor received assistance on the work you turned in (except, of course, assistance from the instructor).

 Project Description

Using the windows32 framework, 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

Comment your code appropriately - including a comment block at the beginning of the file with your name, course information, and program information.

Posted Date: 3/20/2013 2:46:45 AM | Location : United States







Related Discussions:- Program that will input an interger target value, Assignment Help, Ask Question on Program that will input an interger target value, Get Answer, Expert's Help, Program that will input an interger target value Discussions

Write discussion on Program that will input an interger target value
Your posts are moderated
Related Questions
Q. Consider the following page-replacement algorithms. Rank the algorithms on a five-point scale from "bad" to "perfect" according to their page-fault rate. Detach those algorithm

Compare user threads and kernel threads. User threads:- User threads are supported above the kernel and are executed by a thread library at the user level. Thread creation

What is a Dispatcher? The dispatcher is the module that gives control of the CPU to the process selected by the short- term scheduler. This function includes: Switching

1. What must a kernel provide for an effective user-level thread implementation? 2. With respect to the quantum q in a scheduling algorithm, explain and discuss the impact of th

Define the properties operating systems: Batch :- Jobs with similar needs are batched together and  run through the computer as a group by an operator or automatic job sequenc

What is a sequential file? A file that is read one record or block or parameter at a time in order, based on a tape model of a file.

Question 1: a) Distinguish between "Long-Term Scheduler" and "Short-Term Scheduler". b) Describe the benefits of "Threads". c) Name three types of CPU Scheduling. Que

Question: (a) Explain the similarities and differences between two different threads running in the same process and two independent processes. When would you want to use two t

Question 3: (a) Fincorp Ltd is an insurance company wishing to change over to a better business system using an improved version of a financial information system (FIS). The direc

The primary financial objective of corporation is usually taken to be the maximization of shareholder wealth. Discuss:- i. Ways in which the shareholder of a company can encour