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
COMPARISON OF DISK SCHEDULING ALGORITHMS Name      Description                  Remarks      (Selection according to requestor)   RSS        Random scheduling     fo

The hardware to support demand paging is as follows Page table: This table has the skill to mark an entry invalid though a valid-invalid bit or particular value of protectio

Explain briefly the working of semaphore with example ? The E.W. Dijkstra (1965) abstracted the key idea of mutual exclusion in his concepts of semaphores. Definition A s

Explain segmentation hardware? We define an completion to map two-dimensional user-defined addresses into one-dimensional physical addresses. This mapping is affected by means

Problem: a) Define the term ‘process' and what are the different constituents of a process. b) In the three-state process model, what does each of the three states signify?

What is the purpose of system programs? System programs can be thought of as bundles of useful system calls. They give basic functionality to users and so users do not require

What is virtual memory? Virtual memory is a method that allows the execution of processes that might not be completely in memory. It is the separation of user logical memory fr

Write on short note DMA. Direct M emory Access (DMA) is a technique for transferring data from  main to a device without passing it through the CPU. Computers that have

Garbage collectors trade space for time. If we collect all the time (which requires a lot of processing time), the GC allocator will use the least memory possible. On the other han

A system consists of 10 units of resource class Ru. The resource needs of three user processes P1, P2 and P3 are like this                     Using Banker's algorithm, de