Lab070

Lab070 - CNIT 175 Lab07 Due Tues by 10:00 pm Objectives o...

This preview shows pages 1–2. Sign up to view the full content.

CNIT 175 Lab07 Due: Tues. 10/25/11, by 10:00 pm 15 Points Objectives: o Loops o Radio Buttons o Modularity Program: Your have been offered an internship during the winter break, for 10 to 30 days. You are given the option to choose your payment method! Your pay is calculated based on the number of days you work. Write a program to help you decide which payment method to choose. Assume that N is the number of days at the job. The payment options are: 1) Sum of squares: 1 + 2 2 + 3 2 + … N 2 . 2) Sum of 1*2 + 2*3 + 3*4 … N * (N + 1) 3) Sum of pennies paid each day: One penny for day-1, two pennies for day-2, four pennies for day-3, and so on. In other words each day number of pennies paid gets doubled. Allow the user enter the number of employment days, click on one of the Radio Buttons to select the pay option, and click on a Button to have the pay calculated. Design a GUI similar to Figure-1. Figure 1 Screen capture at runtime

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 3

Lab070 - CNIT 175 Lab07 Due Tues by 10:00 pm Objectives o...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online