Write program to compute summation of four grades

Assignment Help Programming Languages
Reference no: EM1389393

a. when user press, the program computes summation of four grades (Grade1+Grade2+Grade3+Grade4) and print the result in the picture box (picSum)

b. when user press, program computes average of four grades by computing summation firstly, and then divide the summation by 4

(Grade1+Grade2+Grade3+Grade4)/4

At last, results have to be printed in the picture box (picAvg)

c. if user forget to enter value of one or more grade, or if user entered non-numaric value like "a", the program must consider these unexpected values as zeros

for example: if user enter the values

Grade1=8

Grade2=9

Grad3= "" (nothing: forget to enter a value)

Grade4="Ab"

Summation should be 8+9+0 (instead of "") + 0 (Instead of "AB") =17

4. if user press button, program should erase any value in four Text Boxes ( txtGrade1 , txtGrade2, txtGrade3, txtGrade4), and two picture boxes: picSum, and picAvg.

Reference no: EM1389393

Questions Cloud

Creating the different haplotypes : A rare autosomal recessive disorder causes pink hair. A non-carrier male and an affected female marry. Think about the following pedigree and RFLP analysis prepared using HindIII.
The promotion comes with a fifty percent increase in pay : Jennifer is eligible for a promotion in twelve months; the promotion comes with a 50 percent increase in pay and 25 percent bonus. She is competing with three other employees for the position
Identify two areas where the internet as affected the law : Identify two areas where the internet as affected the law regarding either contract law, employment law, or intellectual law?
Small bags distribution to wholesalers : A flour mill produces flour in small bags before distributing them to wholesalers. The average weight of each bags is 8 kg with a standard deviation of 0.5 kg.
Write program to compute summation of four grades : when user press, the program computes summation of four grades (Grade1+Grade2+Grade3+Grade4) and print the result in the picture box (picSum).
Dendritic and t regulatory cells affect immune tolerance : Describe how Dendritic cells and T regulatory cells affect immune tolerance. And what woulld happen if there is too much immuno tolerance ?
Describe the three stages of medical technology development : Explain how health is affected by behaviors, economics, and social structure. Describe the three stages of medical technology development.
What is the best way to develop and introduce health : What is the best way to develop, introduce, regulate, provide access, and pay for new health technologies in the 21st century?
Information about medication errors : Please discuss the a concise explanation of the problem of medication errors in the hospital. Address statistical numbers and propose a solution.

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd